This commit is contained in:
Henrik Lissner 2015-11-20 04:00:38 -05:00
parent 66de890cfb
commit 8eb103f152
7 changed files with 48 additions and 60 deletions

View file

@ -49,11 +49,11 @@
;; Rake
(("task" "namespace") () "end")))
:config
(bind! (:prefix ","
:n "tr" 'rspec-rerun
:n "ta" 'rspec-verify-all
:n "ts" 'rspec-verify-single
:n "tv" 'rspec-verify)))
(bind! (:map rspec-mode-map
:n ",tr" 'rspec-rerun
:n ",ta" 'rspec-verify-all
:n ",ts" 'rspec-verify-single
:n ",tv" 'rspec-verify)))
(use-package inf-ruby
:commands (inf-ruby inf-ruby-console-auto)
@ -67,8 +67,9 @@
:diminish "R"
:commands (robe-mode robe-start ruby-load-file)
:init
(add-hook! after-save 'narf|ruby-load-file)
(add-hook! ruby-mode 'narf|enable-robe-maybe)
(add-hook! ruby-mode
(narf|ruby-load-file)
(add-hook 'after-save-hook 'narf|ruby-load-file nil t))
:config
(after! company
(require 'company-robe)