Quickly close the lsp-signature
popup by ESC*
Add to `doom-escape-hook` a function that closes the displayed LSP signature.
This commit is contained in:
parent
56107744df
commit
829a44f79c
1 changed files with 7 additions and 0 deletions
|
@ -58,6 +58,13 @@ about it (it will be logged to *Messages* however).")
|
|||
;; REVIEW Remove this once this is fixed upstream.
|
||||
(add-to-list 'lsp-client-packages 'lsp-racket)
|
||||
|
||||
(add-hook! 'doom-escape-hook
|
||||
(defun +lsp-signature-stop-maybe-h ()
|
||||
"Close the displayed `lsp-signature'."
|
||||
(when lsp-signature-mode
|
||||
(lsp-signature-stop)
|
||||
t)))
|
||||
|
||||
(set-popup-rule! "^\\*lsp-help" :size 0.35 :quit t :select t)
|
||||
(set-lookup-handlers! 'lsp-mode
|
||||
:definition #'+lsp-lookup-definition-handler
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue