Wyłączenie zbędnych checkers w flycheck
This commit is contained in:
parent
ed6632c47a
commit
28d9308da7
8
init.el
8
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
|
||||
"<SPC> g" "Magit"
|
||||
"<SPC> e" "Errors"
|
||||
"<SPC> n" "Narrow"
|
||||
"<SPC> f" "Files"
|
||||
"<SPC> b" "Buffers"
|
||||
"<SPC> t" "Treemacs"
|
||||
"<SPC> l" "Lines"
|
||||
"<SPC> j" "Jupyter"
|
||||
"<SPC> e" "Eshell"
|
||||
"<SPC> s" "Shell"
|
||||
"<SPC> o" "Org"
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue