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
Copy file name to clipboardExpand all lines: README.md
+18-9Lines changed: 18 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,28 +5,37 @@ configurations for various LSP servers. View [all configs](doc/configs.md) or `:
5
5
6
6
## Important ⚠️
7
7
8
-
* These configs are **best-effort and supported by the community (you).** See [contributions](#contributions).
9
-
* The configs live in [`lsp/`](./lsp/).
10
-
* Upgrade to Nvim 0.11+ and use `vim.lsp.enable('…')` (not `require'lspconfig'.….setup{}`) to enable a config.
11
-
* The configs in `lua/lspconfig/` are *deprecated* and will be removed.
12
-
* Upgrade to Nvim 0.11+ and use `vim.lsp.enable('…')` (not `require'lspconfig'.….setup{}`) to enable a config.
8
+
* nvim-lspconfig is 100% "data". Its `require('lspconfig')` module (the "framework") [is **deprecated**](https://github.com/neovim/nvim-lspconfig/issues/3693) in favor of `vim.lsp.config` (Nvim 0.11+).
9
+
* The [lspconfig.lua](./lua/lspconfig.lua)*module* will be dropped. Calls to `require('lspconfig')` will show a warning, which will later become an error.
10
+
* nvim-lspconfig itself is **NOT deprecated**. It contains all of the default configs.
11
+
* The configs live in the [lsp/](./lsp/) directory of nvim-lspconfig. `vim.lsp.config` automatically finds them and merges them with any local `lsp/*.lua` configs defined by you or a plugin.
12
+
* The old configs in `[lua/lspconfig/](./lua/lspconfig/)` are **deprecated** and will be removed.
13
+
14
+
### Migration instructions
15
+
16
+
1. Upgrade to Nvim 0.11+
17
+
2. (Optional) Use `vim.lsp.config('…')` (not `require'lspconfig'.….setup{}`) to *customize* or *define* a config.
18
+
3. Use `vim.lsp.enable('…')` (not `require'lspconfig'.….setup{}`) to *enable* a config, so that it activates for its `filetypes`.
19
+
20
+
## Support
21
+
22
+
These configs are **best-effort and supported by the community (you).** See [contributions](#contributions).
23
+
13
24
* Ask questions on [GitHub Discussions](https://github.com/neovim/neovim/discussions), not the issue tracker.
14
25
* If you found a bug in Nvim LSP (`:help lsp`), [report it to Neovim core](https://github.com/neovim/neovim/issues/new?assignees=&labels=bug%2Clsp&template=lsp_bug_report.yml).
15
26
***Do not** report it here. Only configuration data lives here.
16
-
* This repo only provides self-contained *configurations*. The `require'lspconfig'` "framework" is deprecated and will be removed.
17
-
* The "framework" parts (*not* the configs) of nvim-lspconfig were upstreamed to Nvim core (`vim.lsp.config`).
* Support for Nvim 0.10 will be removed. Upgrade Nvim and nvim-lspconfig before reporting an issue.
33
+
* Support for Nvim 0.10 [will be removed](https://github.com/neovim/nvim-lspconfig/issues/3693). Upgrade Nvim and nvim-lspconfig before reporting an issue.
25
34
* Install nvim-lspconfig using Vim's "packages" feature:
0 commit comments