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 /doc | |
| 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 'doc')
| -rw-r--r-- | doc/lspconfig.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/lspconfig.txt b/doc/lspconfig.txt index ce0181e1..3fd42dc2 100644 --- a/doc/lspconfig.txt +++ b/doc/lspconfig.txt @@ -81,17 +81,26 @@ Alias to `:checkhealth vim.lsp`. Shows the status of active LSP clients and servers. :LspStart [config_name] *:LspStart* + +Note: Use `:lsp enable` with Nvim 0.12+. |:lsp-enable| + Launches the requested (configured) client, but only if it successfully resolves a root directory. Note: Defaults to all configured servers matching the current buffer filetype. :LspStop [client_id] or [config_name] *:LspStop* + +Note: Use `:lsp disable` with Nvim 0.12+. |:lsp-disable| + Stops the server with the given client-id or config name. Defaults to stopping all servers active on the current buffer. To force stop language servers: >vim :LspStop! :LspRestart [client_id] or [config_name] *:LspRestart* + +Note: Use `:lsp restart` with Nvim 0.12+. |:lsp-restart| + Restarts the client with the given client-id or config name, and attempts to reattach to all previously attached buffers. Defaults to restarting all active servers. To force stop language servers when restarting: >vim |
