feat(lang): add rufo package for Ruby

As I'm not convinced formatting with rufo is good idea yet, this is
simply so I can play with it when I want to. It is not configured to
automatically format files on save.
This commit is contained in:
2021-04-07 22:58:36 +01:00
parent 7de79dd704
commit f374dc4eab
2 changed files with 12 additions and 0 deletions

View File

@@ -99,6 +99,17 @@
(lsp-format-buffer-on-save-mode t)
(lsp-deferred)))
(use-package rufo
:defer t
:custom
(rufo-minor-mode-executable "rufo")
(rufo-minor-mode-use-bundler nil)
(rufo-minor-mode-debug-mode nil)
:init
(add-to-list 'safe-local-variable-values
'(rufo-minor-mode-use-bundler . t)))
(use-package dap-ruby
:straight dap-mode
:after (ruby-mode dap-mode))