aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp.lua
diff options
context:
space:
mode:
authorMathias Fußenegger <mfussenegger@users.noreply.github.com>2023-09-14 08:40:53 +0200
committerGitHub <noreply@github.com>2023-09-14 08:40:53 +0200
commita49924a318520a3b5c2f210f22a8d450165e89b5 (patch)
treea733605c981f7ffebfbd147f75c3073665d1e18d /runtime/lua/vim/lsp.lua
parenta6e74c1f0a2bbf03f5b99c167b549018f4c8fb0d (diff)
downloadrneovim-a49924a318520a3b5c2f210f22a8d450165e89b5.tar.gz
rneovim-a49924a318520a3b5c2f210f22a8d450165e89b5.tar.bz2
rneovim-a49924a318520a3b5c2f210f22a8d450165e89b5.zip
feat(lsp): remove notify from vim.lsp.buf_detach_client (#25140)
Closes https://github.com/neovim/neovim/issues/19838
Diffstat (limited to 'runtime/lua/vim/lsp.lua')
-rw-r--r--runtime/lua/vim/lsp.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/runtime/lua/vim/lsp.lua b/runtime/lua/vim/lsp.lua
index b0caf5af35..c25358e557 100644
--- a/runtime/lua/vim/lsp.lua
+++ b/runtime/lua/vim/lsp.lua
@@ -1955,8 +1955,6 @@ function lsp.buf_detach_client(bufnr, client_id)
local namespace = lsp.diagnostic.get_namespace(client_id)
vim.diagnostic.reset(namespace, bufnr)
-
- vim.notify(string.format('Detached buffer (id: %d) from client (id: %d)', bufnr, client_id))
end
--- Checks if a buffer is attached for a particular client.