summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/lua/vim
diff options
context:
space:
mode:
authorMaria José Solano <majosolano99@gmail.com>2025-07-04 14:12:06 -0700
committerMaria José Solano <majosolano99@gmail.com>2025-07-04 14:12:06 -0700
commit285ea2525fdf31052f26575154ebf3a10f320f02 (patch)
tree5c066e7d6ed191cc8d3279b7270a97339392de5d /runtime/lua/vim
parente34e2289c22834239e0522b7331f17fdfb3705e0 (diff)
fix(lsp): remove extra notify on empty hover
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r--runtime/lua/vim/lsp/buf.lua7
1 files changed, 0 insertions, 7 deletions
diff --git a/runtime/lua/vim/lsp/buf.lua b/runtime/lua/vim/lsp/buf.lua
index b0a69fee04..4adaf8e16e 100644
--- a/runtime/lua/vim/lsp/buf.lua
+++ b/runtime/lua/vim/lsp/buf.lua
@@ -128,13 +128,6 @@ function M.hover(config)
-- Remove last linebreak ('---')
contents[#contents] = nil
- if vim.tbl_isempty(contents) then
- if config.silent ~= true then
- vim.notify('No information available')
- end
- return
- end
-
local _, winid = lsp.util.open_floating_preview(contents, format, config)
api.nvim_create_autocmd('WinClosed', {