This commit improves Nixvim's native tree-sitter setup for the modern
nvim-treesitter main branch. The intent was to bring more customizations
that were lost after switching from master branch. In particular:
- `highlight.disable` option now accepts a raw function compatible with
disable parameter from master branch. Additionally it accepts a third
filetype parameter
- add `highlight.enableVimSyntax` option to enable :h syntax for chosen
filetypes. Syntax is sometimes needed for indent files, some vim
scripts, or to improve highlighting for compopund filetypes
- `indent` and `folding` now also have `disable` support
- all features are now enabled only when the parser and queries are
available for current filetype. This avoids setting 'indentexpr' and
'foldexpr' when they cannot work because of missing parser or queries
- adds commands to `b:undo_ftplugin` variable to undo options set. The
content of this variable is automatically executed by Nvim when
switching filetype (by ftplugin). This is needed so that options were
reset if the filetype is changed. Previously stale options were left.
`texlive.combined.scheme-medium` is marked for removal in 27.05, but
top-level packages like `texliveMedium` exist.
texlive.combined schemes are deprecated and will be removed from Nixpkgs 27.05.
Please switch to texliveSmall or another top level scheme.
The calling convention is that the `settings` member will be passed as `opts` to `setup()`, but the assertion expects there to be an `opts` attrset inside `settings`.
`autostart` was a legacy nvim-lspconfig option controlling whether a
server was automatically started for matching buffers.
Neovim's `vim.lsp.config` API does not have an `autostart` field, but
the `vim.lsp.enable()` function is effectively equivalent.
Alias legacy `plugins.lsp.servers.<name>.autostart` definitions to
`lsp.servers.<name>.activate`, which controls `vim.lsp.enable()`.
warning: Dependency of package 'python3.13-python-lsp-server-1.14.0' uses a nested list in attribute 'propagatedBuildInputs'.
This is deprecated as of Nixpkgs release 26.05, and support will be removed in a future nixpkgs release.
nvim-jdtls 0.11+ can be initialized through native Vim LSP config, so explicit FileType start_or_attach is no longer needed.
This avoids passing an empty table into start_or_attach, which triggers the runtime assertion when cmd is unset.
Instead, map plugins.jdtls.settings to lsp.servers.jdtls.config and keep the server enabled by default.
close#4165
Add a vue_ls integration by default for vtsls in addition to tsls which
is already implemented (see #3771).
Haven't added it to Volar since it is deprecated anyway (#3600)