-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
slint: Update treesitter parser and queries #9551
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for updating this! I left some minor comments about the keyword.control
captures but otherwise this looks good
Oh, sorry for the keyword mess-up! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
I pushed a bunch of changes suggested during the review over on nvim-treesitter. I think those make sense to have here as well -- it's much easier for me if the two do not differ too widely from each other. |
* slint: Update treesitter parser and queries * slint: Port over suggestions from nvim review
* slint: Update treesitter parser and queries * slint: Port over suggestions from nvim review
* slint: Update treesitter parser and queries * slint: Port over suggestions from nvim review
* slint: Update treesitter parser and queries * slint: Port over suggestions from nvim review
* slint: Update treesitter parser and queries * slint: Port over suggestions from nvim review
This PR switches the Slint language tree-sitter plugin over to the official one hosted in the slint-ui organiazation. It follows closely what we are doing in nvim-treesitter/nvim-treesitter#6027
@jrmoulton is aware and OK with this switch and started the transition on nvim-treesitter in nvim-treesitter/nvim-treesitter#5985
Unfortunately Jared did not have the time to see this one through, so I created a fresh PR to get hings into shape faster.
This PR also registers the
slint!
macro with the rust language as an injection.