From 386d8e279b9e9272d1fed87afa359d1f4573dea8 Mon Sep 17 00:00:00 2001 From: Tim McCarthy Date: Sun, 29 Sep 2024 16:52:01 -0700 Subject: [PATCH] Flycheck --- thoom-emacs/init.el | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/thoom-emacs/init.el b/thoom-emacs/init.el index 262ca20..5016b7a 100644 --- a/thoom-emacs/init.el +++ b/thoom-emacs/init.el @@ -437,6 +437,7 @@ "\\*Async Shell Command\\*" "\\*Backtrace\\*" "\\*Compile-Log\\*" + "\\*Flycheck errors\\*" help-mode compilation-mode)) (setq popper-group-function #'popper-group-by-project) @@ -756,7 +757,20 @@ (use-package lsp-ui :ensure t - :commands lsp-ui-mode) + :commands lsp-ui-mode + :custom + (lsp-ui-sideline-show-diagnostics nil)) +;;;; Flycheck +(use-package flycheck + :ensure t + :init + (setq flycheck-keymap-prefix (kbd "C-c e")) + :bind (:repeat-map flycheck-repeat-map + ("n" . flycheck-next-error) + ("p" . flycheck-previous-error)) + :config + (add-hook 'after-init-hook #'global-flycheck-mode)) + ;;;; Nix (use-package nix-mode