aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorskewb1k <skewb1kunix@gmail.com>2026-03-31 18:26:19 +0300
committerGitHub <noreply@github.com>2026-03-31 11:26:19 -0400
commit50cf471a49b943022029c734f0441a407283ff59 (patch)
treeda8c8d448c7a24800f8374e00238646f94344e29
parentfix(biome): set lower priority for config files as root #4363 (diff)
downloadnvim-lspconfig-50cf471a49b943022029c734f0441a407283ff59.tar
nvim-lspconfig-50cf471a49b943022029c734f0441a407283ff59.tar.gz
nvim-lspconfig-50cf471a49b943022029c734f0441a407283ff59.tar.bz2
nvim-lspconfig-50cf471a49b943022029c734f0441a407283ff59.tar.lz
nvim-lspconfig-50cf471a49b943022029c734f0441a407283ff59.tar.xz
nvim-lspconfig-50cf471a49b943022029c734f0441a407283ff59.tar.zst
nvim-lspconfig-50cf471a49b943022029c734f0441a407283ff59.zip
docs: document `vim.pack` as preferred installation method #4364
* docs: document `vim.pack` as preferred installation method Nvim 0.12 is not nightly anymore. * docs: replace deprecated `set_log_level` with `vim.lsp.log.set_level`
-rw-r--r--README.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/README.md b/README.md
index 191c3fb9..5a5aae00 100644
--- a/README.md
+++ b/README.md
@@ -32,16 +32,16 @@ These configs are **best-effort and supported by the community (you).** See [con
* Requires Nvim 0.11.3+.
* 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.
-* Install nvim-lspconfig using Vim's "packages" feature:
- ```
- git clone https://github.com/neovim/nvim-lspconfig ~/.config/nvim/pack/nvim/start/nvim-lspconfig
- ```
-* Or with Nvim 0.12 (nightly), you can use the builtin `vim.pack` plugin manager:
+* With Nvim 0.12+, you can use the builtin `vim.pack` plugin manager:
```lua
vim.pack.add{
{ src = 'https://github.com/neovim/nvim-lspconfig' },
}
```
+* Or install nvim-lspconfig using Vim's "packages" feature:
+ ```
+ git clone https://github.com/neovim/nvim-lspconfig ~/.config/nvim/pack/nvim/start/nvim-lspconfig
+ ```
* Or use a 3rd-party plugin manager.
## Quickstart
@@ -194,7 +194,7 @@ If you found a bug with LSP functionality, [report it to Neovim core](https://gi
Before reporting a bug, check your logs and the output of `:checkhealth vim.lsp`. Add this to your init.lua to enable verbose logging:
```lua
-vim.lsp.set_log_level("debug")
+vim.lsp.log.set_level('debug')
```
Attempt to run the language server, then run `:LspLog` to open the log.