Skip to content

Commit aa615f6

Browse files
committed
docs: help tags for :LspFoo commands
1 parent 646fdd9 commit aa615f6

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

doc/lspconfig.txt

+17-12
Original file line numberDiff line numberDiff line change
@@ -368,23 +368,28 @@ standard for single-file mode, lspconfig will adopt that standard.
368368
==============================================================================
369369
COMMANDS *lspconfig-commands*
370370

371-
- `:LspInfo` shows the status of active and configured language servers. Note
372-
that client id refers to the Nvim RPC instance connected to a given
373-
language server. Also shows a list of deprecated servers that have been
374-
configured.
371+
:LspInfo *:LspInfo*
372+
Shows the status of all configured language servers. Note that client id
373+
refers to the Nvim RPC channel connected to a given language server. Also
374+
lists deprecated servers.
375375

376376
The following commands support tab-completion for all arguments. All commands
377377
that require a client id can either leverage tab-completion or the info
378378
contained in `:LspInfo`:
379379

380-
- `:LspStart <config_name>` launches the requested (configured) client, but only
381-
if it successfully resolves a root directory. Note: Defaults to all
382-
configured servers matching the current buffer filetype.
383-
- `:LspStop <client_id>` stops the server with the given client id. Defaults to
384-
stopping all servers active on the current buffer. if you want to force stop
385-
a language server you can do it like `:LspStop <client_id> ++force`
386-
- `:LspRestart <client_id>` restarts the client with the given client id, and
387-
will attempt to reattach to all previously attached buffers.
380+
:LspStart [config_name] *:LspStart*
381+
Launches the requested (configured) client, but only if it successfully
382+
resolves a root directory. Note: Defaults to all configured servers matching
383+
the current buffer filetype.
384+
385+
:LspStop [client_id] *:LspStop*
386+
Stops the server with the given client id. Defaults to stopping all servers
387+
active on the current buffer. To force stop a language server: >
388+
:LspStop <client_id> ++force
389+
390+
:LspRestart [client_id] *:LspRestart*
391+
Restarts the client with the given client id, and attempts to reattach to all
392+
previously attached buffers.
388393

389394
==============================================================================
390395
COMPLETION SUPPORT *lspconfig-completion*

0 commit comments

Comments
 (0)