mirror of
https://github.com/neovim/neovim.git
synced 2026-08-30 19:11:52 +00:00
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.
This commit is contained in:
committed by
Lewis Russell
parent
7e38630874
commit
00e71d3da3
@@ -907,8 +907,8 @@ stop_client({client_id}, {force}) *vim.lsp.stop_client()*
|
||||
for this client, then force-shutdown is attempted.
|
||||
|
||||
Parameters: ~
|
||||
• {client_id} (`integer|vim.lsp.Client`) id or |vim.lsp.Client| object,
|
||||
or list thereof
|
||||
• {client_id} (`integer|integer[]|vim.lsp.Client[]`) id, list of id's,
|
||||
or list of |vim.lsp.Client| objects
|
||||
• {force} (`boolean?`) shutdown forcefully
|
||||
|
||||
tagfunc({pattern}, {flags}) *vim.lsp.tagfunc()*
|
||||
|
||||
Reference in New Issue
Block a user