mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-04-26 19:37:36 +00:00
treesitter: add filetype mappings
This commit is contained in:
parent
27b4dc9fb0
commit
9ff0dcb60c
3 changed files with 64 additions and 40 deletions
|
|
@ -283,6 +283,10 @@
|
|||
- Added {option}`vim.languages.tera.treesitter.injection` to configure, what
|
||||
language the content is.
|
||||
|
||||
- Added {option}`vim.treesitter.filetypeMappings` to support mappings similar to
|
||||
<https://github.com/nvim-treesitter/nvim-treesitter/blob/main/plugin/filetypes.lua>.
|
||||
This is mostly use full for Markdown code block injections.
|
||||
|
||||
- Added `vim.lsp.presets.<name>` to contain LSP configurations. This allows for
|
||||
more flexibility in nvf and reuse of LSPs across languages. Dropped
|
||||
`deprecatedSingleOrListOf` in favor of `listOf` for the affected LSP options.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue