Use flycheck for error diagnostics

This commit is contained in:
Ohad Livne 2025-06-04 22:44:54 +03:00
parent 664dcd4fa8
commit b9919507e3
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D

View file

@ -140,12 +140,12 @@
:custom :custom
(lsp-pylsp-plugins-flake8-enabled nil)) (lsp-pylsp-plugins-flake8-enabled nil))
(use-package flymake (use-package flycheck
:straight (:type built-in) :init (global-flycheck-mode)
:bind (:map flymake-mode-map :bind (:map flycheck-mode-map
("C-c C-n" . flymake-goto-next-error) ("C-c C-n" . flycheck-next-error)
("C-c C-p" . flymake-goto-prev-error) ("C-c C-p" . flycheck-previous-error)
("C-c C-l" . flymake-show-buffer-diagnostics))) ("C-c C-l" . flycheck-list-errors)))
(use-package pyvenv) (use-package pyvenv)