aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/client.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2026-05-07 12:00:26 -0400
committerGitHub <noreply@github.com>2026-05-07 16:00:26 +0000
commitb351024daf88d8ea3b934817ba7350fb29bbf37c (patch)
tree3f9703168be4d262aac442aabded94e04ffd4fd5 /runtime/lua/vim/lsp/client.lua
parent3639f7a8672bfbc6844f94c1db98c06cc9649afc (diff)
downloadrneovim-b351024daf88d8ea3b934817ba7350fb29bbf37c.tar.gz
rneovim-b351024daf88d8ea3b934817ba7350fb29bbf37c.tar.bz2
rneovim-b351024daf88d8ea3b934817ba7350fb29bbf37c.zip
build(docs): lint more quasi-keysets #39654
Problem: Linter missed backtick and double-quote keynames in the quasi-keyset of the `nvim_create_user_command` docstring. Solution: Update the linter to check backtick-surrounded and quote-surrounded key names.
Diffstat (limited to 'runtime/lua/vim/lsp/client.lua')
-rw-r--r--runtime/lua/vim/lsp/client.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp/client.lua b/runtime/lua/vim/lsp/client.lua
index 3df6a03174..1173edb773 100644
--- a/runtime/lua/vim/lsp/client.lua
+++ b/runtime/lua/vim/lsp/client.lua
@@ -892,9 +892,9 @@ end
--- file corruption.
---
--- @param force? integer|boolean (default: `self.exit_timeout`) Decides whether to force-stop the server.
+--- - `false`: Do not force-stop after "shutdown" request.
--- - `nil`: Defaults to `exit_timeout` from |vim.lsp.ClientConfig|.
--- - `true`: Force-stop after "shutdown" request.
---- - `false`: Do not force-stop after "shutdown" request.
--- - number: Wait up to `force` milliseconds before force-stop.
function Client:stop(force)
validate('force', force, { 'number', 'boolean' }, true)