aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp.lua
diff options
context:
space:
mode:
authornotomo <notomo.motono@gmail.com>2023-01-04 20:48:41 +0900
committerGitHub <noreply@github.com>2023-01-04 11:48:41 +0000
commite35b9020b16985eee26e942f9a3f6b045bc3809b (patch)
tree0a685e4fccb55380017e059243db0570a83954cb /runtime/lua/vim/lsp.lua
parentef18c9f9b05caf1f39ed32762f53802e378f143b (diff)
downloadrneovim-e35b9020b16985eee26e942f9a3f6b045bc3809b.tar.gz
rneovim-e35b9020b16985eee26e942f9a3f6b045bc3809b.tar.bz2
rneovim-e35b9020b16985eee26e942f9a3f6b045bc3809b.zip
docs(lua): adjust some type annotations
Diffstat (limited to 'runtime/lua/vim/lsp.lua')
-rw-r--r--runtime/lua/vim/lsp.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp.lua b/runtime/lua/vim/lsp.lua
index 1d99283dd9..13f8c81dfb 100644
--- a/runtime/lua/vim/lsp.lua
+++ b/runtime/lua/vim/lsp.lua
@@ -1805,7 +1805,7 @@ end
--- already for this client, then force-shutdown is attempted.
---
---@param client_id number|table id or |vim.lsp.client| object, or list thereof
----@param force boolean (optional) shutdown forcefully
+---@param force boolean|nil shutdown forcefully
function lsp.stop_client(client_id, force)
local ids = type(client_id) == 'table' and client_id or { client_id }
for _, id in ipairs(ids) do