Simplify aphelia-mode-alist python entry
This commit is contained in:
parent
3d3841252d
commit
7a07e1672f
3
init.el
3
init.el
|
@ -900,8 +900,7 @@
|
||||||
(add-to-list 'apheleia-formatters '(alejandra . ("alejandra")))
|
(add-to-list 'apheleia-formatters '(alejandra . ("alejandra")))
|
||||||
(add-to-list 'apheleia-formatters '(isort . ("isort" "--profile" "black" "-")))
|
(add-to-list 'apheleia-formatters '(isort . ("isort" "--profile" "black" "-")))
|
||||||
(add-to-list 'apheleia-mode-alist '(nix-mode . alejandra))
|
(add-to-list 'apheleia-mode-alist '(nix-mode . alejandra))
|
||||||
(add-to-list 'apheleia-mode-alist '(python-mode . (ruff isort)))
|
(add-to-list 'apheleia-mode-alist '(python-base-mode . (ruff isort))))
|
||||||
(add-to-list 'apheleia-mode-alist '(python-ts-mode . (ruff isort))))
|
|
||||||
|
|
||||||
(use-package flymake
|
(use-package flymake
|
||||||
:bind (("C-c C-." . flymake-goto-next-error)
|
:bind (("C-c C-." . flymake-goto-next-error)
|
||||||
|
|
Loading…
Reference in a new issue