diff --git a/init.el b/init.el index 795054f..b9ec0da 100644 --- a/init.el +++ b/init.el @@ -149,6 +149,7 @@ Missing packages are automatically installed." :commands lsp :config ;; Ustawienia LSP + (setq-default flycheck-disabled-checkers '(python-pylint python-flake8)) (setq lsp-headerline-breadcrumb-enable t) ;; Breadcrumb w nagłówku (setq lsp-completion-provider :capf) ;; Włączenie podpowiedzi capf (setq lsp-enable-snippet t) ;; Włączenie snippetów w podpowiedziach @@ -156,7 +157,6 @@ Missing packages are automatically installed." (setq lsp-pyright-diagnostic-mode "workspace") ;; Diagnostyka w kontekście projektu (setq lsp-pylsp-plugins-pyflakes-enabled nil) ;; Wyłącz pyflakes (setq lsp-diagnostics-provider :none) ;; Wyłącz diagnostykę LSP na rzecz Flycheck - (setq lsp-pylsp-plugins-flake8-enabled nil) ;; Użyj flake8 zamiast pyflakes (setq lsp-pylsp-plugins-ruff-enabled t) ;; Użyj flake8 zamiast pyflakes @@ -330,7 +330,8 @@ Missing packages are automatically installed." "l n" 'display-line-numbers-mode "j s" 'jupyter-run-server-repl "j a" 'jupyter-repl-associate-buffer - "e e" 'eshell + "s e" 'eshell + "e l" 'flycheck-list-errors "n n" 'narrow-to-region "n w" 'widen "a" 'mark-whole-buffer @@ -343,13 +344,14 @@ Missing packages are automatically installed." (which-key-add-key-based-replacements " g" "Magit" + " e" "Errors" " n" "Narrow" " f" "Files" " b" "Buffers" " t" "Treemacs" " l" "Lines" " j" "Jupyter" - " e" "Eshell" + " s" "Shell" " o" "Org" )