Skip to content

Add some syntax files#5078

Closed
jip wants to merge 6 commits into
MidnightCommander:masterfrom
jip:add-some-syntax-files
Closed

Add some syntax files#5078
jip wants to merge 6 commits into
MidnightCommander:masterfrom
jip:add-some-syntax-files

Conversation

@jip
Copy link
Copy Markdown
Contributor

@jip jip commented Mar 23, 2026

Proposed changes

  1. Update syntax highlighting definition for J language.
  2. Add syntax highlighting definition for BNF/EBNF/ABNF/WBNF metasyntax.
  3. Add syntax highlighting definition for META II metasyntax
  4. Add syntax highlighting definition for TREE-META metasyntax.

Checklist

  • I have referenced the issue(s) resolved by this PR (if any)
  • I have signed-off my contribution with git commit --amend -s
  • Lint and unit tests pass locally with my changes (make indent && make check)
  • I have added tests that prove my fix is effective or that my feature works
  • I have added the necessary documentation (if appropriate)

Notes

  1. I'm the author of original j.syntax added by j.syntax: Please review and add this patch #1491.
  2. Test files and demo screenshots are located in jip/syntax-highlighting/mc.

jip added 4 commits March 23, 2026 19:11
Changes to be committed:
	modified:   misc/syntax/j.syntax
Changes to be committed:
	modified:   misc/filehighlight.ini
	modified:   misc/syntax/Makefile.am
	modified:   misc/syntax/Syntax.in
	new file:   misc/syntax/bnf.syntax
Changes to be committed:
	modified:   misc/filehighlight.ini
	modified:   misc/syntax/Makefile.am
	modified:   misc/syntax/Syntax.in
	new file:   misc/syntax/meta-ii.syntax
Changes to be committed:
	modified:   misc/filehighlight.ini
	modified:   misc/syntax/Makefile.am
	modified:   misc/syntax/Syntax.in
	new file:   misc/syntax/tree-meta.syntax
@github-actions github-actions Bot added needs triage Needs triage by maintainers prio: medium Has the potential to affect progress labels Mar 23, 2026
@github-actions github-actions Bot added this to the Future Releases milestone Mar 23, 2026
@jip jip closed this Apr 10, 2026
@github-actions github-actions Bot removed this from the Future Releases milestone Apr 10, 2026
@jip jip deleted the add-some-syntax-files branch April 10, 2026 02:14
@jip
Copy link
Copy Markdown
Contributor Author

jip commented Apr 10, 2026

To fix some mess with merges, I'll repeat this PR later.

@zyv zyv added area: mcedit mcedit, the built-in text editor and removed needs triage Needs triage by maintainers labels May 9, 2026
@zyv
Copy link
Copy Markdown
Member

zyv commented May 9, 2026

Superseded by #5091.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: mcedit mcedit, the built-in text editor prio: medium Has the potential to affect progress

Development

Successfully merging this pull request may close these issues.

2 participants