diff options
| author | Paul Hansen <mail@paul.rs> | 2025-02-27 02:53:58 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-27 09:53:58 +0100 |
| commit | 28f76678cae8d474cdaec0738e8ff733b14fdeb8 (patch) | |
| tree | 73893704878fbbaa5ba6622d38125978ce909600 /lua/nvim-treesitter.lua | |
| parent | feat(typescript): highlight abstract methods (diff) | |
| download | nvim-treesitter-28f76678cae8d474cdaec0738e8ff733b14fdeb8.tar nvim-treesitter-28f76678cae8d474cdaec0738e8ff733b14fdeb8.tar.gz nvim-treesitter-28f76678cae8d474cdaec0738e8ff733b14fdeb8.tar.bz2 nvim-treesitter-28f76678cae8d474cdaec0738e8ff733b14fdeb8.tar.lz nvim-treesitter-28f76678cae8d474cdaec0738e8ff733b14fdeb8.tar.xz nvim-treesitter-28f76678cae8d474cdaec0738e8ff733b14fdeb8.tar.zst nvim-treesitter-28f76678cae8d474cdaec0738e8ff733b14fdeb8.zip | |
fix(kdl): highlight query order (#7688)
This just fixes the highlighting queries so everything
isn't highlighted as a variable due to the order of the queries
meaning several queries were ignored.
I also changed the node names to be highlighted as `@tag` since KDL is an
xml-like format so `@tag` seemed more appropriate than type and it differentiates it
from the type annotations.
This does NOT update to the latest KDL version 2, that would need
grammar changes. It does "mostly" work with
KDL 2 though (notably unquoted strings seem to throw the grammar off.).
Diffstat (limited to 'lua/nvim-treesitter.lua')
0 files changed, 0 insertions, 0 deletions
