diff --git a/.config/emacs/init.el b/.config/emacs/init.el index f9319d7..6d38e0a 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -146,12 +146,13 @@ :custom (lsp-pylsp-plugins-flake8-enabled nil)) -(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 flymake + :elpaca nil + :bind (:map flymake-mode-map + ("C-c C-l" . flymake-show-buffer-diagnostics) + ("C-x C-l" . flymake-show-project-diagnostics) + ("C-c C-n" . flymake-goto-next-error) + ("C-c C-p" . flymake-goto-prev-error))) ; Requires poetry to be installed (use-package poetry)