Skip to content

Commit

Permalink
correctly clean up post command hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
sam committed Sep 17, 2024
1 parent 5617883 commit f2e801f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lsp-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -4120,7 +4120,8 @@ yet."
(cond
((and (or (equal lsp-signature-auto-activate t)
(memq :on-trigger-char lsp-signature-auto-activate))
signature-help-handler)
signature-help-handler
(not cleanup?))
(add-hook 'post-self-insert-hook signature-help-handler nil t))

((or cleanup?
Expand Down

0 comments on commit f2e801f

Please sign in to comment.