Use flymake instead of flycheck for error diagnostics

This commit is contained in:
Ohad Livne 2025-06-04 22:46:03 +03:00
parent d3e569e3fd
commit c8cf149818
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D

View file

@ -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)