Customising filetypes #98
Replies: 2 comments 13 replies
-
oh that's neat for specific languages, but Rust has a lot of unusual operators, for example the try_expression I mentioned earlier is a ? at the end of a result or option, how would that be customized in Rust? https://github.com/tree-sitter/tree-sitter-rust here's the Rust grammar for tree sitter if you want to maybe take a look, I want to really separate the components like how vscode has done it, I really liked it |
Beta Was this translation helpful? Give feedback.
-
@mmirus and @mrjones2014 - Are you using the original filetype highlights at all? I'm looking to deprecate them soon in favour of the "new" treesitter filetype highlights. |
Beta Was this translation helpful? Give feedback.
-
Hey @amaanq. Moving the discussion over here.
I have filetype highlights set out like this:
Fancy trying for Rust?
Beta Was this translation helpful? Give feedback.
All reactions