Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

syntax formatting for m4 #4

Open
ebblake opened this issue Dec 5, 2020 · 1 comment
Open

syntax formatting for m4 #4

ebblake opened this issue Dec 5, 2020 · 1 comment

Comments

@ebblake
Copy link

ebblake commented Dec 5, 2020

I noticed that while you have syntax formatting for a number of languages, you are lacking it for m4. There are a few keywords (such as define, incr, substr, ...), comments (# to newline), as well as substitutions like $1, $2 which at least the emacs mode for m4 is able to colorize. m4's heavy use of nested `' strings is not worth colorizing. Adding color to be similar to emacs would make this code easier to read

@bokub
Copy link
Owner

bokub commented Dec 7, 2020

Hi 👋
The syntax highlighting feature comes from CodeMirror, which doesn't support m4 unfortunately.

However, you can post a new issue on their repo, asking for a "m4 mode", you'd be the first one!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants