mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +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
31a15fb2a1
commit
3f238b39cf
@@ -761,7 +761,7 @@ function Client:_request_sync(method, params, timeout_ms, bufnr)
|
||||
return request_result
|
||||
end
|
||||
|
||||
--- @private
|
||||
--- @package
|
||||
--- Sends a notification to an LSP server.
|
||||
---
|
||||
--- @param method string LSP method name.
|
||||
|
||||
Reference in New Issue
Block a user