From 28d9308da79fff39164839d6b81f4ea6e080d768 Mon Sep 17 00:00:00 2001 From: pali112 Date: Mon, 13 Jan 2025 11:58:25 +0100 Subject: [PATCH] =?UTF-8?q?Wy=C5=82=C4=85czenie=20zb=C4=99dnych=20checkers?= =?UTF-8?q?=20w=20flycheck?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- init.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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" )