Currently the grammar used for syntax highlighting on github (utils/textmate/mlir.json) is very simple. In particular it skips almost any custom form, doesn't handle snippets too well as it attempts to find functions first, etc.. Extending it to support common custom forms and provide better support.
Currently the grammar used for syntax highlighting on github (utils/textmate/mlir.json) is very simple. In particular it skips almost any custom form, doesn't handle snippets too well as it attempts to find functions first, etc.. Extending it to support common custom forms and provide better support.
The answer may be to just redo it completely :)