Replies: 3 comments
-
See also |
Beta Was this translation helpful? Give feedback.
-
@ckipp01 You opinion would be very valuable as you're putting efforts to keep nvim-treesitter queries in a relevant state |
Beta Was this translation helpful? Give feedback.
-
Firstly, I totally agree. It's not idea to have to manually sync these. However, I feel pretty strongly that the actual language tree-sitter repo (this one) should be the source of truth and other repos like nvim-treesitter should fetch from it, not maintain their own. @keynmol actually brought this up here. From my understanding though not all of the integrations have the same captures so it may not always work to sync with the upstream queries and expect it work perfectly. So I don't really have a great answer or solution. I mean we can make a check list or something that when the highlights here change we know where we they ought to be updated in nvim-treesitter, helix, scala-ts-mode, but that would still require someone familiar with how they are being used in those places to probably do it. |
Beta Was this translation helpful? Give feedback.
-
I think it would be nice to have some fixed process of reviewing and synchronizing changes to nvim-treesitter queries (highlights/locals/indents/etc.).
For example:
queries/nvim
)NOTE: nvim highlight queries can use different highlight groups than vanilla tree-sitter highlight queries, which we already have here
Beta Was this translation helpful? Give feedback.
All reactions