Skip to content

Commit

Permalink
Merge pull request #441 from Song-Tianxiang/patch-1
Browse files Browse the repository at this point in the history
fix: hover popup-filter, remove redundant code
  • Loading branch information
yegappan authored Jan 17, 2024
2 parents 5ebc9dd + ec32429 commit 255170b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autoload/lsp/hover.vim
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ def HoverWinFilterKey(hoverWin: number, key: string): bool
keyHandled = true
endif

if !keyHandled
# For any other key, close the hover window
if key == "\<Esc>"
hoverWin->popup_close()
keyHandled = true
endif

return keyHandled
Expand Down

0 comments on commit 255170b

Please sign in to comment.