`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.
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)
These have all been upstreamed into nvim-lspconfig. Going forward, we
should continue that trend.
If any nix-specific `cmd`s aren't accepted in nvim-lspconfig, they can
be patched in Nixpkgs instead.
This new `plugins.lsp.servers.vue_ls.tslsIntegration` is a shameless
copy of of pre-existing `plugins.lsp.servers.volar.tslsIntegration`
option.
Full disclosure: I have not tested this as I use the newer `lsp` module.
I'm not sure if this fixes
https://github.com/nix-community/nixvim/issues/3600, but it's a least
part of it.
26 new LSPs were added when we updated the update script in
b9c5a75cc6
Add a package association for all the new LSPs I was able to find a
package for.
This is nearly a full rewrite of the lspconfig-servers update-script,
migrating it to the new `lsp/` directory system and simplifying where
possible.
- plugins/lsp: adapt to new file format
- flake/locate-lsp-packages: update for new lspconfig file format
- generated: Updated lspconfig-servers.json
A new update script will check which "old" files do not have an
equivalent "new" file, then the plugins.lsp module will create a
removal assertion for any servers that are listed in the generated
file.
- Re-implement setup wrapping and capabilities to preserve existing
behaviour
- Alias `package` options to new lsp module
- Alias `packageFallback` options to new lsp module
- Alias `preConfig` and `postConfig` to `lsp.luaConfig`