diff options
| author | Markus Koller <markus@snafu.ch> | 2025-06-14 00:56:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-13 15:56:33 -0700 |
| commit | 7ad4a11cc5742774877c529fcfb2702f7caf75e4 (patch) | |
| tree | 52448b7daf4ae102ab4820f347ed630d6cc10b84 /README.md | |
| parent | docs: update configs.md (diff) | |
| download | nvim-lspconfig-7ad4a11cc5742774877c529fcfb2702f7caf75e4.tar nvim-lspconfig-7ad4a11cc5742774877c529fcfb2702f7caf75e4.tar.gz nvim-lspconfig-7ad4a11cc5742774877c529fcfb2702f7caf75e4.tar.bz2 nvim-lspconfig-7ad4a11cc5742774877c529fcfb2702f7caf75e4.tar.lz nvim-lspconfig-7ad4a11cc5742774877c529fcfb2702f7caf75e4.tar.xz nvim-lspconfig-7ad4a11cc5742774877c529fcfb2702f7caf75e4.tar.zst nvim-lspconfig-7ad4a11cc5742774877c529fcfb2702f7caf75e4.zip | |
fix!: drop support for multiple args in :LspStop/:LspRestart #3896
Problem:
:LspStop/:LspRestart support multiple args, which is unlikely to be used
for interactive usage. These commands are intended for interactive
usage, not scripts. Scripts should use the vim.lsp API.
Solution:
It is unlikely that users specify multiple args, so let's drop it to
simplify the code and interface.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -153,8 +153,8 @@ Most of the time, the reason for failure is present in the logs. * `:LspInfo` (alias to `:checkhealth vim.lsp`) shows the status of active and configured language servers. * `:LspStart <config_name>` Start the requested server name. Will only successfully start if the command detects a root directory matching the current config. -* `:LspStop [<client_id_or_name> ...]` Stops the given server(s). Defaults to stopping all servers active on the current buffer. To force stop add `++force` -* `:LspRestart [<client_id_or_name> ...]` Restarts the given client(s), and attempts to reattach to all previously attached buffers. Defaults to restarting all active servers. +* `:LspStop [<client_id_or_name>]` Stops the given server. Defaults to stopping all servers active on the current buffer. To force stop add `++force` +* `:LspRestart [<client_id_or_name>]` Restarts the given client, and attempts to reattach to all previously attached buffers. Defaults to restarting all active servers. ## Contributions |
