languages/tera: add injection

This commit is contained in:
Snoweuph 2026-04-19 19:02:24 +02:00
commit fbb27a80c5
No known key found for this signature in database
GPG key ID: BEFC41DA223CEC55
2 changed files with 28 additions and 4 deletions

View file

@ -278,7 +278,10 @@
- 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`.
`mkLualine`, `entryAnywhere`, `entryBefore`, `entryAfter` as `lua` in nix.
- Added {option}`vim.languages.tera.treesitter.injection` to configure, what
language the content is.
- Added `vim.lsp.presets.<name>` to contain LSP configurations. This allows for
more flexibility in nvf and reuse of LSPs across languages. Dropped