Skip to content

Commit 3f238b3

Browse files
committed
refactor(lsp): simplify client tracking
- Remove: - uninitialized_clients - active_clients - all_buffer_active_clients - Add: - all_clients - Use `lsp.get_clients()` to get buffer clients.
1 parent 31a15fb commit 3f238b3

File tree

5 files changed

+164
-198
lines changed

5 files changed

+164
-198
lines changed

Diff for: runtime/doc/lsp.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -907,8 +907,8 @@ stop_client({client_id}, {force}) *vim.lsp.stop_client()*
907907
for this client, then force-shutdown is attempted.
908908

909909
Parameters: ~
910-
• {client_id} (`integer|vim.lsp.Client`) id or |vim.lsp.Client| object,
911-
or list thereof
910+
• {client_id} (`integer|integer[]|vim.lsp.Client[]`) id, list of id's,
911+
or list of |vim.lsp.Client| objects
912912
{force} (`boolean?`) shutdown forcefully
913913

914914
tagfunc({pattern}, {flags}) *vim.lsp.tagfunc()*

0 commit comments

Comments
 (0)