Skip to content

Add some syntax files#5078

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

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

Conversation

@jip
Copy link
Copy Markdown

@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
Author

jip commented Apr 10, 2026

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

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

Labels

needs triage Needs triage by maintainers prio: medium Has the potential to affect progress

Development

Successfully merging this pull request may close these issues.

1 participant