Skip to content

Commit

Permalink
correctly clean up post command hooks (#4550)
Browse files Browse the repository at this point in the history
Co-authored-by: sam <[email protected]>
  • Loading branch information
sstraust and sam authored Sep 26, 2024
1 parent 522b1ad commit b333977
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 @@ -4122,7 +4122,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 b333977

Please sign in to comment.