From a49924a318520a3b5c2f210f22a8d450165e89b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathias=20Fu=C3=9Fenegger?= Date: Thu, 14 Sep 2023 08:40:53 +0200 Subject: [PATCH] feat(lsp): remove notify from vim.lsp.buf_detach_client (#25140) Closes https://github.com/neovim/neovim/issues/19838 --- runtime/lua/vim/lsp.lua | 2 -- 1 file changed, 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.