From 77d3fdfb3554632c7a3b101ded643d422de7626f Mon Sep 17 00:00:00 2001 From: Markus Koller Date: Tue, 10 Jun 2025 16:14:18 +0200 Subject: fix: support :LspRestart without arguments #3895 Problem: After the refactoring in e4d1c8b for Neovim 0.11.2 this command now requires an argument. Solution: Restore the previous behaviour where `:LspRestart` defaults to restarting all active servers. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 7979b203..7fac4221 100644 --- a/README.md +++ b/README.md @@ -154,7 +154,7 @@ 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 ` Start the requested server name. Will only successfully start if the command detects a root directory matching the current config. * `:LspStop [ ...]` Stops the given server(s). Defaults to stopping all servers active on the current buffer. To force stop add `++force` -* `:LspRestart [ ...]` Restarts the given client(s), and attempts to reattach to all previously attached buffers. +* `:LspRestart [ ...]` Restarts the given client(s), and attempts to reattach to all previously attached buffers. Defaults to restarting all active servers. ## Contributions -- cgit v1.2.3-70-g09d2