[Emacs] Use rubocop in ruby-mode
This commit is contained in:
parent
9e8cd58d7f
commit
b597b6e239
@ -2322,6 +2322,13 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
|
|||||||
(unbind-key "C-j" python-mode-map)
|
(unbind-key "C-j" python-mode-map)
|
||||||
(add-hook 'python-mode-hook #'imalison:python-mode)))
|
(add-hook 'python-mode-hook #'imalison:python-mode)))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
*** ruby
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package ruby-mode
|
||||||
|
:config
|
||||||
|
(setf (alist-get 'ruby-ts-mode apheleia-mode-alist)
|
||||||
|
'(rubocop)))
|
||||||
|
#+end_src
|
||||||
*** go
|
*** go
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package go-mode
|
(use-package go-mode
|
||||||
|
Loading…
Reference in New Issue
Block a user