From b9919507e3683d100dc01d37e60cf7cc8f13277c Mon Sep 17 00:00:00 2001 From: Ohad Livne Date: Wed, 4 Jun 2025 22:44:54 +0300 Subject: [PATCH] Use flycheck for error diagnostics --- .config/emacs/init.el | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.config/emacs/init.el b/.config/emacs/init.el index 9bedac5..6f3a382 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -140,12 +140,12 @@ :custom (lsp-pylsp-plugins-flake8-enabled nil)) -(use-package flymake - :straight (:type built-in) - :bind (:map flymake-mode-map - ("C-c C-n" . flymake-goto-next-error) - ("C-c C-p" . flymake-goto-prev-error) - ("C-c C-l" . flymake-show-buffer-diagnostics))) +(use-package flycheck + :init (global-flycheck-mode) + :bind (:map flycheck-mode-map + ("C-c C-n" . flycheck-next-error) + ("C-c C-p" . flycheck-previous-error) + ("C-c C-l" . flycheck-list-errors))) (use-package pyvenv)