-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate to vim.lsp.config (non-breaking) #3494
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Why does it matter? |
idea from @lewis6991 :
counterpoint:
|
one thing that was nice about this repo was that it allowed me to get notifs on what cool new lsps were coming out. i'd definitely prefer removing another bulky plugin and some hacky logic in my config due to the nature of this plugin, but wondering if we can somehow keep this lsp list in some way |
@PeterCardenas this repo isn't going away. Only its "framework" or API was lifted into core. 80% of the configs (the less popular/important ones) likely will continue to live here. But in any case, there are many other projects that do the same kind of thing, for emacs, "awesome", etc., if your goal is to find new lsps. |
Is there a |
This comment has been minimized.
This comment has been minimized.
|
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: