mirror of
https://github.com/neovim/neovim.git
synced 2024-12-28 14:31:13 -07:00
fix(lsp): re-add client.commands and mark private
This commit is contained in:
parent
6c168c0f4d
commit
597ecf7516
@ -79,6 +79,7 @@ local validate = vim.validate
|
||||
--- Track this so that we can escalate automatically if we've already tried a
|
||||
--- graceful shutdown
|
||||
--- @field private _graceful_shutdown_failed true?
|
||||
--- @field private commands table
|
||||
---
|
||||
--- @field dynamic_capabilities lsp.DynamicCapabilities
|
||||
---
|
||||
@ -270,6 +271,7 @@ function Client.start(config)
|
||||
attached_buffers = {},
|
||||
server_capabilities = {},
|
||||
dynamic_capabilities = vim.lsp._dynamic.new(id),
|
||||
commands = config.commands, -- Remove in Nvim 0.11
|
||||
|
||||
--- Contains $/progress report messages.
|
||||
--- They have the format {token: integer|string, value: any}
|
||||
|
Loading…
Reference in New Issue
Block a user