doc: Rephrase LspStopServer description (#1518)

At some point when writing the `LspStopServer` description I've
incorrectly merged two sentences into.  Fixed that and added a few minor
clarifications.
This commit is contained in:
Illia Bobyr
2023-12-11 18:26:56 -08:00
committed by GitHub
parent 3af8f3b38e
commit 8b5980b94f

View File

@@ -1921,16 +1921,16 @@ LspStopServer[!] [name] *:LspStopServer*
:LspStopServer
Stops all active servers that handle files matching the current buffer type
are stopped. This is often what you want. For example, if you have multiple
files of different types open, `LspStopServer` will only stop the server for
the current buffer. Shows an error if there are no active LSP servers for the
Stops all active servers that handle files matching the current buffer type.
This is often what you want. For example, if you have multiple files of
different types open, `LspStopServer` will only stop the server for the
current buffer. Shows an error if there are no active LSP servers for the
current buffer.
:LspStopServer!
Stops all active servers, regardless of the current buffer. Shows a message
for every stopped server.
Stops all active servers, regardless of the current buffer type. Shows a
message for every stopped server.
:LspStopServer name