Ruby-mode improvements
This commit is contained in:
parent
79788d4ec0
commit
03caf4256f
@ -1,12 +1,26 @@
|
||||
;; -*- lexical-binding: t; -*-
|
||||
(use-package ruby-mode
|
||||
:straight (:type built-in)
|
||||
:mode (("\\.rb\\'" . ruby-mode)
|
||||
("\\.rake\\'" . ruby-mode)
|
||||
("\\.gemspec\\'" . ruby-mode)
|
||||
("\\.ru\\'" . ruby-mode)
|
||||
("\\.arb\\'" . ruby-mode)
|
||||
("Rakefile\\'" . ruby-mode)
|
||||
("Gemfile\\'" . ruby-mode)
|
||||
("Guardfile\\'" . ruby-mode)
|
||||
("Capfile\\'" . ruby-mode)
|
||||
("Vagrantfile\\'" . ruby-mode))
|
||||
:hook (ruby-mode . highlight-indent-guides-mode))
|
||||
|
||||
(use-package inf-ruby
|
||||
:commands (inf-ruby inf-ruby-console-auto))
|
||||
:commands (inf-ruby inf-ruby-console-auto)
|
||||
:general
|
||||
([remap inf-ruby] #'inf-ruby-console-auto))
|
||||
|
||||
(use-package rbenv
|
||||
:hook (after-init . global-rbenv-mode))
|
||||
:hook (after-init . global-rbenv-mode)
|
||||
:custom
|
||||
(rbenv-show-active-ruby-in-modeline nil))
|
||||
|
||||
(provide 'init-ruby)
|
||||
|
Loading…
Reference in New Issue
Block a user