mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Use ruby/python shims to get version
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
(add-hook! ruby-mode '(narf|enable-tab-width-2 flycheck-mode))
|
||||
:config
|
||||
(define-builder! ruby-mode "rake %s" "Rakefile")
|
||||
(define-env-command! ruby-mode "rbenv version | cut -d' ' -f1")
|
||||
(define-env-command! ruby-mode "ruby --version | cut -d' ' -f2")
|
||||
;; Formatting
|
||||
(setq ruby-indent-level 2
|
||||
ruby-deep-indent-paren t)
|
||||
|
Reference in New Issue
Block a user