From e4154108e7d511f499954fa05673a702cdefbd1f Mon Sep 17 00:00:00 2001 From: Zelong Kuang Date: Mon, 22 Dec 2025 19:52:11 +1100 Subject: [PATCH] Flycheck --- lisp/init-completion.el | 6 +++--- lisp/init-hydra.el | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lisp/init-completion.el b/lisp/init-completion.el index 3d277ee..a0aa265 100644 --- a/lisp/init-completion.el +++ b/lisp/init-completion.el @@ -136,7 +136,7 @@ ;; M-g bindings in `goto-map' ("M-g e" . consult-compile-error) ("M-g r" . consult-grep-match) - ("M-s f" . consult-flymake) ;; Alternative: consult-flycheck + ("M-s f" . consult-flycheck) ;; Alternative: consult-flycheck ("M-g g" . consult-goto-line) ;; orig. goto-line ("M-g M-g" . consult-goto-line) ;; orig. goto-line ("M-g o" . consult-outline) ;; Alternative: consult-org-heading @@ -156,7 +156,6 @@ ("M-s L" . consult-line-multi) ("M-s k" . consult-keep-lines) ("M-s u" . consult-focus-lines) - ("C-c p f" . consult-projectile) ("C-x C-r" . consult-recent-file) ("C-x C-b" . consult-buffer) @@ -173,7 +172,8 @@ (setq xref-show-xrefs-function #'consult-xref xref-show-definitions-function #'consult-xref)) -(use-package consult-projectile) +;; (use-package consult-projectile) +(use-package consult-flycheck) (use-package consult-dir :ensure t diff --git a/lisp/init-hydra.el b/lisp/init-hydra.el index 9728a61..550b00a 100644 --- a/lisp/init-hydra.el +++ b/lisp/init-hydra.el @@ -38,7 +38,7 @@ ("h d" rainbow-delimiters-mode "delimiter" :toggle t) ("h t" global-hl-todo-mode "todo" :toggle t)) "Program" - (("f" flymake-mode "flymake" :toggle t) + (("f" global-flycheck-mode "flycheck" :toggle t) ("O" hs-minor-mode "hideshow" :toggle t) ("u" subword-mode "subword" :toggle t) ("W" which-function-mode "which function" :toggle t)