mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 09:12:07 +00:00
feat(lsp): deprecate non-method client functions
Deprecated: - `client.request()` -> `client:request()` - `client.request_sync()` -> `client:request_sync()` - `client.notify()` -> `client:notify()` - `client.cancel_request()` -> `client:cancel_request()` - `client.stop()` -> `client:stop()` - `client.is_stopped()` `client:is_stopped()` - `client.supports_method()` -> `client:supports_method()` - `client.on_attach()` -> `client:on_attach()` Fixed docgen to link class fields to the full function doc.
This commit is contained in:

committed by
Lewis Russell

parent
f55c842ec7
commit
454ae672aa
@@ -116,7 +116,7 @@ function M.register(reg, client_id)
|
||||
local params = {
|
||||
changes = change_queues[client_id],
|
||||
}
|
||||
client.notify(ms.workspace_didChangeWatchedFiles, params)
|
||||
client:notify(ms.workspace_didChangeWatchedFiles, params)
|
||||
queue_timers[client_id] = nil
|
||||
change_queues[client_id] = nil
|
||||
change_cache[client_id] = nil
|
||||
|
Reference in New Issue
Block a user