Reenable autoformatting for Emacs Lisp
This commit is contained in:
parent
9c4d290062
commit
157a03687d
1 changed files with 4 additions and 5 deletions
|
|
@ -217,7 +217,6 @@
|
||||||
(use-package apheleia
|
(use-package apheleia
|
||||||
:config
|
:config
|
||||||
(apheleia-global-mode)
|
(apheleia-global-mode)
|
||||||
(setf (alist-get 'emacs-lisp-mode apheleia-mode-alist nil 'remove) nil)
|
|
||||||
(setf (alist-get 'ruff-isort apheleia-formatters)
|
(setf (alist-get 'ruff-isort apheleia-formatters)
|
||||||
'("ruff" "check"
|
'("ruff" "check"
|
||||||
"-n"
|
"-n"
|
||||||
|
|
@ -236,10 +235,10 @@
|
||||||
(use-package flymake
|
(use-package flymake
|
||||||
:ensure nil
|
:ensure nil
|
||||||
:bind (:map flymake-mode-map
|
:bind (:map flymake-mode-map
|
||||||
("C-c C-l" . flymake-show-buffer-diagnostics)
|
("C-c C-l" . flymake-show-buffer-diagnostics)
|
||||||
("C-x C-l" . flymake-show-project-diagnostics)
|
("C-x C-l" . flymake-show-project-diagnostics)
|
||||||
("C-c C-n" . flymake-goto-next-error)
|
("C-c C-n" . flymake-goto-next-error)
|
||||||
("C-c C-p" . flymake-goto-prev-error))
|
("C-c C-p" . flymake-goto-prev-error))
|
||||||
:custom
|
:custom
|
||||||
(flymake-show-diagnostics-at-end-of-line t)
|
(flymake-show-diagnostics-at-end-of-line t)
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue