 (diminish 'anzu-mode)
 (diminish 'guide-key-mode)
 (diminish 'hs-minor-mode)
-(diminish 'haskell-doc-mode)
-(diminish 'haskell-indentation-mode)

(add-to-list 'auto-mode-alist '("\\.erb$" . rhtml-mode))
;; pry
(require 'pry)
(define-key enh-ruby-mode-map (kbd "<S-f9") 'pry-intercept)
(define-key enh-ruby-mode-map (kbd "<f9")   'pry-intercept-rerun)
(add-hook 'robe-mode-hook 'robe-ac-setup)
;; documentation
(define-key enh-ruby-mode-map (kbd "C-c ?") 'yari)


;; ruby ;;
;; enhanced ruby mode
(require 'enh-ruby-mode)
(setq enh-ruby-program "~/.rbenv/shims/ruby")
(add-to-list 'interpreter-mode-alist '("ruby" . enh-ruby-mode))
;; replace normal ruby mode
