diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2024-10-01 17:54:35 +0200 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2024-10-01 17:54:35 +0200 |
| commit | aa615f62300465eef5115e0b7dfcf6dedc274f5d (patch) | |
| tree | c6b2d92289341cfed55551d943f429ab502b6100 | |
| parent | fix(julials): inverted `assert` check #3333 (diff) | |
| download | nvim-lspconfig-aa615f62300465eef5115e0b7dfcf6dedc274f5d.tar nvim-lspconfig-aa615f62300465eef5115e0b7dfcf6dedc274f5d.tar.gz nvim-lspconfig-aa615f62300465eef5115e0b7dfcf6dedc274f5d.tar.bz2 nvim-lspconfig-aa615f62300465eef5115e0b7dfcf6dedc274f5d.tar.lz nvim-lspconfig-aa615f62300465eef5115e0b7dfcf6dedc274f5d.tar.xz nvim-lspconfig-aa615f62300465eef5115e0b7dfcf6dedc274f5d.tar.zst nvim-lspconfig-aa615f62300465eef5115e0b7dfcf6dedc274f5d.zip | |
docs: help tags for :LspFoo commands
| -rw-r--r-- | doc/lspconfig.txt | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/doc/lspconfig.txt b/doc/lspconfig.txt index 8292885d..b3e6c1cf 100644 --- a/doc/lspconfig.txt +++ b/doc/lspconfig.txt @@ -368,23 +368,28 @@ standard for single-file mode, lspconfig will adopt that standard. ============================================================================== COMMANDS *lspconfig-commands* -- `:LspInfo` shows the status of active and configured language servers. Note - that client id refers to the Nvim RPC instance connected to a given - language server. Also shows a list of deprecated servers that have been - configured. +:LspInfo *:LspInfo* +Shows the status of all configured language servers. Note that client id +refers to the Nvim RPC channel connected to a given language server. Also +lists deprecated servers. The following commands support tab-completion for all arguments. All commands that require a client id can either leverage tab-completion or the info contained in `:LspInfo`: -- `:LspStart <config_name>` 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>` stops the server with the given client id. Defaults to - stopping all servers active on the current buffer. if you want to force stop - a language server you can do it like `:LspStop <client_id> ++force` -- `:LspRestart <client_id>` restarts the client with the given client id, and - will attempt to reattach to all previously attached buffers. +:LspStart [config_name] *:LspStart* +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] *:LspStop* +Stops the server with the given client id. Defaults to stopping all servers +active on the current buffer. To force stop a language server: > + :LspStop <client_id> ++force + +:LspRestart [client_id] *:LspRestart* +Restarts the client with the given client id, and attempts to reattach to all +previously attached buffers. ============================================================================== COMPLETION SUPPORT *lspconfig-completion* |
