languages/nix: fix treesitter nvf query for vim.treesitter.queries

This commit is contained in:
Snoweuph 2026-04-23 22:59:05 +02:00 committed by Ching Pei Yang
commit cee03d0c97
2 changed files with 30 additions and 41 deletions

View file

@ -277,8 +277,9 @@
- Added {option}`vim.treesitter.queries` to support adding custom queries.
- Added injections for `vim.treesitter.queries.*.content` as `query` and
`mkLualine`, `entryAnywhere`, `entryBefore`, `entryAfter` as `lua` in nix.
- Added injections for `query = '' ... ''` as `query` and `mkLualine '' ... ''`,
`entryAnywhere '' ... ''`, `entryBefore [] '' ... ''`,
`entryAfter [] '' ... ''` as `lua` in nix.
- Added {option}`vim.languages.tera.treesitter.injection` to configure, what
language the content is.