feat(lsp): remove notify from vim.lsp.buf_detach_client (#25140)

Closes https://github.com/neovim/neovim/issues/19838
This commit is contained in:
Mathias Fußenegger 2023-09-14 08:40:53 +02:00 committed by GitHub
parent a6e74c1f0a
commit a49924a318
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.