A Tree-Sitter parser for Slint #970
Replies: 3 comments 5 replies
-
This image wouldn't compile but it shows working highlighting for a lot (if not all of) the language features. |
Beta Was this translation helpful? Give feedback.
-
What is the config you use to register your Slint parser with |
Beta Was this translation helpful? Give feedback.
-
Would it maybe be interesting for you to move this work into the slint-ui organization? I just moved the vim-slint plugin yesterday to make that a bit more official. You would of course retain copyright and write access and everything and can maintain it as before, but this would require the CLA to be in effect for the tree-sitter code as well. |
Beta Was this translation helpful? Give feedback.
-
Hey everyone!
I built a tree sitter parser for Slint! Its intended use is for neovim and currently supports syntax highlighting and indentation. Link here
Without Tree Sitter
With Tree Sitter
This is the first time I've ever written a tree-sitter parser so the implementation could still use some work but highlighting works great!
Beta Was this translation helpful? Give feedback.
All reactions