Ade rope to ruby
This commit is contained in:
parent
bc1138eb06
commit
bfeb3a7f83
3 changed files with 14 additions and 1 deletions
2
emacs
2
emacs
|
|
@ -22,7 +22,7 @@
|
|||
'(hl-paren-colors (quote ("#ecf0f1" "#ecf0f1" "#c0392b")))
|
||||
'(package-selected-packages
|
||||
(quote
|
||||
(company-jedi pyenv pyenv-mode toml-mode color-theme-approximate smex yaml-mode web-mode ujelly-theme smart-mode-line scala-mode rvm ruby-end rainbow-mode rainbow-delimiters racer noctilux-theme monokai-theme markdown-mode less-css-mode json-reformat jade-mode indent-guide helm-themes helm-projectile helm-ag haskell-mode haml-mode groovy-mode flycheck flatui-theme exec-path-from-shell evil-nerd-commenter evil-magit evil-leader elpy dumb-jump dockerfile-mode diff-hl column-enforce-mode base16-theme avk-emacs-themes atom-one-dark-theme all-the-icons alchemist aggressive-indent ag)))
|
||||
(robe elm-yasnippets elm-mode company-jedi pyenv pyenv-mode toml-mode color-theme-approximate smex yaml-mode web-mode ujelly-theme smart-mode-line scala-mode rvm ruby-end rainbow-mode rainbow-delimiters racer noctilux-theme monokai-theme markdown-mode less-css-mode json-reformat jade-mode indent-guide helm-themes helm-projectile helm-ag haskell-mode haml-mode groovy-mode flycheck flatui-theme exec-path-from-shell evil-nerd-commenter evil-magit evil-leader elpy dumb-jump dockerfile-mode diff-hl column-enforce-mode base16-theme avk-emacs-themes atom-one-dark-theme all-the-icons alchemist aggressive-indent ag)))
|
||||
'(safe-local-variable-values (quote ((encoding . utf-8))))
|
||||
'(sml/active-background-color "#34495e")
|
||||
'(sml/active-foreground-color "#ecf0f1")
|
||||
|
|
|
|||
|
|
@ -23,6 +23,15 @@
|
|||
;; Do not insert encoding comments ;;
|
||||
(setq ruby-insert-encoding-magic-comment nil)
|
||||
|
||||
;; Use robe
|
||||
(defadvice inf-ruby-console-auto (before activate-rvm-for-robe activate)
|
||||
(rvm-activate-corresponding-ruby))
|
||||
|
||||
(eval-after-load 'company
|
||||
'(push 'company-robe company-backends))
|
||||
|
||||
(add-hook 'ruby-mode-hook 'robe-mode)
|
||||
|
||||
;; Use web-mode for erb
|
||||
(add-to-list 'auto-mode-alist '("\\.erb\\'" . web-mode))
|
||||
|
||||
|
|
|
|||
|
|
@ -183,6 +183,10 @@
|
|||
(package-refresh-contents)
|
||||
(package-install 'less-css-mode))
|
||||
|
||||
(unless (package-installed-p 'robe)
|
||||
(package-refresh-contents)
|
||||
(package-install 'robe))
|
||||
|
||||
; Web mode for editing erb
|
||||
(unless (package-installed-p 'web-mode)
|
||||
(package-refresh-contents)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue