mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-04-26 19:37:36 +00:00
languages/nix: fix treesitter nvf query for vim.treesitter.queries
This commit is contained in:
parent
10d7bb38ff
commit
cee03d0c97
2 changed files with 30 additions and 41 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue