Skip to content

Commit b333977

Browse files
sstraustsam
andauthored
correctly clean up post command hooks (#4550)
Co-authored-by: sam <[email protected]>
1 parent 522b1ad commit b333977

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lsp-mode.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4122,7 +4122,8 @@ yet."
41224122
(cond
41234123
((and (or (equal lsp-signature-auto-activate t)
41244124
(memq :on-trigger-char lsp-signature-auto-activate))
4125-
signature-help-handler)
4125+
signature-help-handler
4126+
(not cleanup?))
41264127
(add-hook 'post-self-insert-hook signature-help-handler nil t))
41274128

41284129
((or cleanup?

0 commit comments

Comments
 (0)