Use rubocop for apheleia in ruby buffers and limit keybinding to prog-mode
This commit is contained in:
parent
b57a368179
commit
30c22902b3
@ -246,8 +246,10 @@
|
||||
;; Code formatting library
|
||||
(use-package apheleia
|
||||
:straight (apheleia :host github :repo "raxod502/apheleia")
|
||||
:config
|
||||
(add-to-list 'apheleia-mode-alist '(ruby-mode . (rubocop)))
|
||||
:general
|
||||
("C-c f" #'apheleia-format-buffer))
|
||||
(prog-mode-map "C-c f" #'apheleia-format-buffer))
|
||||
|
||||
;; AI assistance
|
||||
(use-package copilot
|
||||
|
Loading…
Reference in New Issue
Block a user