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))

View File

@@ -153,6 +153,7 @@
("rubocopfmt.el" . "b84810105940aa5e0bde20c9a89359c95c9b6917")
("ruby-refactor" . "e6b7125878a08518bffec6942df0c606f748e9ee")
("ruby-tools.el" . "6b97066b58a4f82eb2ecea6434a0a7e981aa4c18")
("rufo.el" . "020b02ed6e9ab49e79d2ddf63e4ee2684c1728f4")
("rust-mode" . "e9e9e32c4f82a9b895543c120b327ab5536ec42b")
("rust-playground" . "5a117781dcb66065bea7830dd73618008fc34949")
("s.el" . "43ba8b563bee3426cead0e6d4ddc09398e1a349d")