mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
feat(lang): Use rubocop-daemon to format ruby files on save
On my 2016 MacBook Pro correction times are around 200ms with the daemon, compared to around 3-4 seconds without. There might be some issues if bundler depends heavily on gems included in the project, but we'll see how that goes.
This commit is contained in:
@@ -149,7 +149,9 @@
|
||||
(ruby-mode . rubocopfmt-mode)
|
||||
|
||||
:custom
|
||||
(rubocopfmt-show-errors 'echo))
|
||||
(rubocopfmt-show-errors 'echo)
|
||||
(rubocopfmt-rubocop-command
|
||||
(expand-file-name "bin/rubocop-daemon-wrapper" siren-dir)))
|
||||
|
||||
(use-package ruby-compilation
|
||||
:defer t)
|
||||
|
||||
Reference in New Issue
Block a user