diff options
author | sterni <sternenseemann@systemli.org> | 2022-12-23T14·23+0100 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2022-12-23T14·33+0000 |
commit | 9008fb083995e37a66fe0894d85f156d70aac1e8 (patch) | |
tree | 30bb1528a61ac3ec9e11d524b0c5dc88dd76a2a4 /users/sterni/emacs/init.el | |
parent | 85940f3d5cba67d23dfac8e50533607c818ffc74 (diff) |
feat(sterni/emacs): add flycheck r/5479
Change-Id: I50eeef285a9f9cb5ad0a7f99105dfbf571ac9b38 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7615 Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI Autosubmit: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'users/sterni/emacs/init.el')
-rw-r--r-- | users/sterni/emacs/init.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/users/sterni/emacs/init.el b/users/sterni/emacs/init.el index 571a9aa72fc9..d1ccc162d6ed 100644 --- a/users/sterni/emacs/init.el +++ b/users/sterni/emacs/init.el @@ -4,7 +4,6 @@ (package-initialize) ;; Set default font and fallback font via set-fontset-font -;; TODO(sterni): Investigate why ZWJ sequences aren't shaped properly (let ((mono-font "Bitstream Vera Sans Mono-12") (emoji-font "Noto Color Emoji-12")) (setq default-frame-alist `((font . ,mono-font))) @@ -251,6 +250,8 @@ :config (editorconfig-mode 1)) (use-package haskell-mode) +(use-package flycheck + :init (global-flycheck-mode)) (use-package lsp-mode :hook ((haskell-mode . lsp-deferred)) :commands (lsp lsp-deferred) @@ -273,6 +274,7 @@ (set-face-background 'lsp-ui-doc-background "WhiteSmoke") (set-face-foreground 'lsp-ui-sideline-code-action "SaddleBrown") (setq lsp-ui-sideline-code-actions-prefix "🔨 " + lsp-ui-sideline-show-diagnostics nil lsp-ui-sideline-show-code-actions t) ; is :custom, but won't take effect? (evil-define-key 'normal lsp-ui-mode-map ;; TODO(sterni): emulate using xref for non-lsp? |