mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
refactor(lsp): mark server_ready function as deprecated (#23520)
This commit is contained in:
@@ -31,7 +31,9 @@ end
|
||||
--- ready.
|
||||
---
|
||||
---@returns `true` if server responds.
|
||||
---@deprecated
|
||||
function M.server_ready()
|
||||
vim.deprecate('vim.lsp.buf.server_ready', nil, '0.10.0')
|
||||
return not not vim.lsp.buf_notify(0, 'window/progress', {})
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user