Skip to content

Commit e6102a0

Browse files
committed
hover: no need check diagnostic window now
1 parent 0e2e116 commit e6102a0

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

lua/lspsaga/hover.lua

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -328,10 +328,6 @@ function hover:do_request(args)
328328
end
329329

330330
function hover:render_hover_doc(args)
331-
local diag_winid = require('lspsaga.diagnostic').winid
332-
if diag_winid and api.nvim_win_is_valid(diag_winid) then
333-
require('lspsaga.diagnostic'):clean_data()
334-
end
335331
args = args or {}
336332
util.valid_markdown_parser()
337333
if self.winid and api.nvim_win_is_valid(self.winid) then

0 commit comments

Comments
 (0)