diff options
Diffstat (limited to 'users')
-rw-r--r-- | users/sterni/emacs/default.nix | 1 | ||||
-rw-r--r-- | users/sterni/emacs/init.el | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/users/sterni/emacs/default.nix b/users/sterni/emacs/default.nix index 5fa8ffdba6fc..9ff7da3812b6 100644 --- a/users/sterni/emacs/default.nix +++ b/users/sterni/emacs/default.nix @@ -18,6 +18,7 @@ let epkgs.melpaPackages.elfeed epkgs.melpaPackages.evil epkgs.melpaPackages.evil-collection + epkgs.melpaPackages.flycheck epkgs.melpaPackages.haskell-mode epkgs.melpaPackages.hl-todo epkgs.melpaPackages.jq-mode 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? |