Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions lsp-ui-doc.el
Original file line number Diff line number Diff line change
Expand Up @@ -897,8 +897,6 @@ HEIGHT is the documentation number of lines."

(defun lsp-ui-doc--post-command ()
"Post command hook for UI doc."
(unless (memq this-command lsp-ui-doc--ignore-commands)
(lsp-ui-doc--hide-frame))
(lsp-ui-util-safe-kill-timer lsp-ui-doc--post-timer)
(setq lsp-ui-doc--post-timer (run-with-timer lsp-ui-doc-post-delay nil #'lsp-ui-doc--make-request)))

Expand Down
2 changes: 2 additions & 0 deletions lsp-ui-util.el
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@

;;; Code:

(require 'face-remap)

(defun lsp-ui-util-safe-kill-timer (timer)
"Safely kill the TIMER."
(when (timerp timer) (cancel-timer timer)))
Expand Down