diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2025-12-16 14:22:41 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-16 14:22:41 -0500 |
| commit | 9a5f74d66bf45ac3c75a7757e146e158265814ce (patch) | |
| tree | 5ecb7b7a8aba31de03d52c9842a6b790971850f2 /README.md | |
| parent | docs: update configs.md (diff) | |
| download | nvim-lspconfig-9a5f74d66bf45ac3c75a7757e146e158265814ce.tar nvim-lspconfig-9a5f74d66bf45ac3c75a7757e146e158265814ce.tar.gz nvim-lspconfig-9a5f74d66bf45ac3c75a7757e146e158265814ce.tar.bz2 nvim-lspconfig-9a5f74d66bf45ac3c75a7757e146e158265814ce.tar.lz nvim-lspconfig-9a5f74d66bf45ac3c75a7757e146e158265814ce.tar.xz nvim-lspconfig-9a5f74d66bf45ac3c75a7757e146e158265814ce.tar.zst nvim-lspconfig-9a5f74d66bf45ac3c75a7757e146e158265814ce.zip | |
docs: ":lsp ..." in Nvim 0.12 #4243
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -166,9 +166,9 @@ Most of the time, the reason for failure is present in the logs. ## Commands * `:LspInfo` (alias to `:checkhealth vim.lsp`) shows the status of active and configured language servers. -* `:LspStart <config_name>` Start the requested server name. Will only successfully start if the command detects a root directory matching the current config. -* `:LspStop [<client_id_or_name>]` Stops the given server. Defaults to stopping all servers active on the current buffer. To force stop use `:LspStop!` -* `:LspRestart [<client_id_or_name>]` Restarts the given client, and attempts to reattach to all previously attached buffers. Defaults to restarting all active servers. +* `:lsp enable <config_name>` (`:LspStart <config_name>` for Nvim 0.11 or older) Start the requested server name. Will only successfully start if the command detects a root directory matching the current config. +* `:lsp disable <client_id_or_name>` (`:LspStop [<client_id_or_name>]` for Nvim 0.11 or older) Stops the given server. Defaults to stopping all servers active on the current buffer. To force stop use `:LspStop!` +* `:lsp restart <client_id_or_name>` (`:LspRestart [<client_id_or_name>]` for Nvim 0.11 or older) Restarts the given client, and attempts to reattach to all previously attached buffers. Defaults to restarting all active servers. ## Contributions |
