docs(lua): adjust some type annotations

This commit is contained in:
notomo
2023-01-04 20:48:41 +09:00
committed by GitHub
parent ef18c9f9b0
commit e35b9020b1
6 changed files with 14 additions and 14 deletions

View File

@@ -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