From c9a05afbdf6cf5950208013f78976912945d9958 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Thu, 24 Jun 2021 22:14:39 +0100 Subject: [PATCH] feat(lsp); tweak lsp-ui-sideline to only show errors The sideline hover stuff about all objects on the current line are rather noisy, and most of the time I only care about the errors. --- modules/lsp/siren-lsp.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/lsp/siren-lsp.el b/modules/lsp/siren-lsp.el index 67a9c61..f03a563 100644 --- a/modules/lsp/siren-lsp.el +++ b/modules/lsp/siren-lsp.el @@ -35,7 +35,9 @@ (lsp-keymap-prefix "M-;") (lsp-lens-enable t) (lsp-modeline-diagnostics-enable t) + (lsp-semantic-tokens-apply-modifiers t) (lsp-semantic-tokens-enable t) + (lsp-semantic-tokens-warn-on-missing-face nil) (lsp-signature-auto-activate t) (lsp-signature-render-documentation t) @@ -88,7 +90,7 @@ (lsp-ui-sideline-enable t) (lsp-ui-sideline-show-code-actions t) (lsp-ui-sideline-show-diagnostics t) - (lsp-ui-sideline-show-hover t)) + (lsp-ui-sideline-show-hover nil)) (provide 'siren-lsp) ;;; siren-lsp.el ends here