You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With vim.lsp.configneovim/neovim#31031 , Nvim 0.11+ now has an interface for defining LSP configs. Previously, the config format was defined by nvim-lspconfig (this repo) and did not have core Nvim support.
Migration plan
Phase 1: Nvim 0.11 users can use these configs via vim.lsp.config
Create lsp/*.lua configs (in this repo) that simply wrap the existing lua/lspconfig/configs/*.lua configs.
Ignore root_dir? Copy-paste filenames into root_markers?
Description
With
vim.lsp.config
neovim/neovim#31031 , Nvim 0.11+ now has an interface for defining LSP configs. Previously, the config format was defined by nvim-lspconfig (this repo) and did not have core Nvim support.Migration plan
Phase 1: Nvim 0.11 users can use these configs via
vim.lsp.config
lsp/*.lua
configs (in this repo) that simply wrap the existinglua/lspconfig/configs/*.lua
configs.root_dir
? Copy-paste filenames intoroot_markers
?lspconfig/health.lua
should do nothing (or error). On Nvim 0.10 it will continue to work.require('lspconfig')
for any reason.Phase 2: migrate the actual config code
v1.x
release.BREAKING: Themaster
branch will require Nvim 0.11 and will throw an error ifvim.lsp.config
is not found (and point the user to the v1.x branch).lsp/*.lua
and port them tovim.lsp.config
on_attach
(example).The text was updated successfully, but these errors were encountered: