aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorneolooong <j31422210@gmail.com>2026-01-27 00:53:23 +0800
committerGitHub <noreply@github.com>2026-01-26 11:53:23 -0500
commit4044b8544a6cea57179d5a29c203b6b65d2b6ac4 (patch)
tree908fda67a7d7054a62d11fbb9cae8b4918c66f78 /doc
parentdocs: update configs.md (diff)
downloadnvim-lspconfig-4044b8544a6cea57179d5a29c203b6b65d2b6ac4.tar
nvim-lspconfig-4044b8544a6cea57179d5a29c203b6b65d2b6ac4.tar.gz
nvim-lspconfig-4044b8544a6cea57179d5a29c203b6b65d2b6ac4.tar.bz2
nvim-lspconfig-4044b8544a6cea57179d5a29c203b6b65d2b6ac4.tar.lz
nvim-lspconfig-4044b8544a6cea57179d5a29c203b6b65d2b6ac4.tar.xz
nvim-lspconfig-4044b8544a6cea57179d5a29c203b6b65d2b6ac4.tar.zst
nvim-lspconfig-4044b8544a6cea57179d5a29c203b6b65d2b6ac4.zip
docs: update :LspStop, :LspRestart commands #4294
Diffstat (limited to 'doc')
-rw-r--r--doc/lspconfig.txt15
1 files changed, 7 insertions, 8 deletions
diff --git a/doc/lspconfig.txt b/doc/lspconfig.txt
index 492040e8..70abb46e 100644
--- a/doc/lspconfig.txt
+++ b/doc/lspconfig.txt
@@ -91,22 +91,21 @@ 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*
+:LspStop [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
+Stops the server with the given 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*
+:LspRestart [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
+Restarts the client with the given 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
:LspRestart!
==============================================================================