From aee6af61289cdfe3f12e02db03676c0190034d5b Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sun, 24 May 2020 00:23:18 +0100 Subject: [PATCH] fix(lang): Switch back to formatting Ruby with rubocop-daemon Using `lsp-format-buffer` is a little bit unreliable, and for some reason it also skips some cops. --- modules/languages/siren-ruby.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/languages/siren-ruby.el b/modules/languages/siren-ruby.el index 6238a28..f8e1b30 100644 --- a/modules/languages/siren-ruby.el +++ b/modules/languages/siren-ruby.el @@ -154,7 +154,8 @@ :custom (rubocopfmt-show-errors 'echo) - (rubocopfmt-on-save-use-lsp-format-buffer t) + (rubocopfmt-on-save-use-lsp-format-buffer nil) + (rubocopfmt-use-bundler-when-possible nil) (rubocopfmt-rubocop-command (expand-file-name "bin/rubocop-daemon-wrapper" siren-dir)))