Emit an emacs major mode
With coloring! Next up: formatting but that might be hard.
This commit is contained in:
parent
4941cd049c
commit
d7dfd556ec
2 changed files with 120 additions and 2 deletions
|
|
@ -439,4 +439,4 @@ if __name__ == "__main__":
|
|||
ts_path = Path(__file__).parent / "tree-sitter-fine"
|
||||
emit_tree_sitter_grammar(grammar, ts_path)
|
||||
emit_tree_sitter_queries(grammar, ts_path)
|
||||
emit_emacs_major_mode(grammar, ts_path)
|
||||
emit_emacs_major_mode(grammar, ts_path / "fine.el")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue