mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
feat(lsp): remove notify from vim.lsp.buf_detach_client (#25140)
Closes https://github.com/neovim/neovim/issues/19838
This commit is contained in:
parent
a6e74c1f0a
commit
a49924a318
@ -1955,8 +1955,6 @@ function lsp.buf_detach_client(bufnr, client_id)
|
|||||||
|
|
||||||
local namespace = lsp.diagnostic.get_namespace(client_id)
|
local namespace = lsp.diagnostic.get_namespace(client_id)
|
||||||
vim.diagnostic.reset(namespace, bufnr)
|
vim.diagnostic.reset(namespace, bufnr)
|
||||||
|
|
||||||
vim.notify(string.format('Detached buffer (id: %d) from client (id: %d)', bufnr, client_id))
|
|
||||||
end
|
end
|
||||||
|
|
||||||
--- Checks if a buffer is attached for a particular client.
|
--- Checks if a buffer is attached for a particular client.
|
||||||
|
Loading…
Reference in New Issue
Block a user