Use ruby/python shims to get version
This commit is contained in:
parent
54f7e84b68
commit
bf49b4e16f
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue