mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
fix(lsp): correct deprecation message #28403
This commit is contained in:
parent
f1dfe32bf5
commit
97c0a52416
@ -381,7 +381,7 @@ function M.enable(enable, filter)
|
||||
if type(enable) == 'number' or type(filter) == 'boolean' then
|
||||
vim.deprecate(
|
||||
'vim.lsp.inlay_hint.enable(bufnr:number, enable:boolean)',
|
||||
'vim.diagnostic.enable(enable:boolean, filter:table)',
|
||||
'vim.lsp.inlay_hint.enable(enable:boolean, filter:table)',
|
||||
'0.10-dev'
|
||||
)
|
||||
error('see :help vim.lsp.inlay_hint.enable() for updated parameters')
|
||||
|
Loading…
Reference in New Issue
Block a user