File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -558,7 +558,7 @@ This does not toggle display of flycheck diagnostics or code actions."
558558 (lsp-ui-sideline-mode
559559 (add-hook 'post-command-hook 'lsp-ui-sideline nil t )
560560 (advice-add 'company-pseudo-tooltip-frontend :before 'lsp-ui-sideline--hide-before-company )
561- (add-hook 'lsp -after-diagnostics -hook 'lsp-ui-sideline--diagnostics-changed nil t )
561+ (add-hook 'flycheck -after-syntax-check -hook 'lsp-ui-sideline--diagnostics-changed nil t )
562562 (dolist (cmd lsp-ui-sideline-cmd-erase)
563563 (advice-add cmd :before 'lsp-ui-sideline--erase ))
564564 (when lsp-ui-sideline-show-diagnostics
@@ -567,7 +567,7 @@ This does not toggle display of flycheck diagnostics or code actions."
567567 (setq lsp-ui-sideline--tag nil )
568568 (advice-remove 'company-pseudo-tooltip-frontend 'lsp-ui-sideline--hide-before-company )
569569 (lsp-ui-sideline--delete-ov)
570- (remove-hook 'lsp -after-diagnostics- hook 'lsp-ui-sideline--diagnostics-changed t )
570+ (remove-hook 'flycheck -after-syntax-check- hook 'lsp-ui-sideline--diagnostics-changed t )
571571 (remove-hook 'post-command-hook 'lsp-ui-sideline t )
572572 (dolist (cmd lsp-ui-sideline-cmd-erase)
573573 (advice-remove cmd 'lsp-ui-sideline--erase ))
You can’t perform that action at this time.
0 commit comments