commit 285ea2525fdf31052f26575154ebf3a10f320f02
parent e34e2289c22834239e0522b7331f17fdfb3705e0
Author: Maria José Solano <majosolano99@gmail.com>
Date: Fri, 4 Jul 2025 14:12:06 -0700
fix(lsp): remove extra notify on empty hover
Diffstat:
1 file changed, 0 insertions(+), 7 deletions(-)
diff --git 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', {