1
0
Fork 0

Working with erb and Ruby gems

This commit is contained in:
Jeremy Kaplan 2017-03-11 17:01:38 -05:00
commit 12c9568de2
2 changed files with 2 additions and 1 deletions

View file

@ -236,6 +236,7 @@ they line up with the line containing the corresponding opening bracket."
(add-to-list 'auto-mode-alist '("\\.jsx?\\'" . web-mode)) (add-to-list 'auto-mode-alist '("\\.jsx?\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.scss\\'" . web-mode)) (add-to-list 'auto-mode-alist '("\\.scss\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.html\\'" . web-mode)) (add-to-list 'auto-mode-alist '("\\.html\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.erb\\'" . web-mode))
(setq web-mode-content-types-alist (setq web-mode-content-types-alist
'(("jsx" . "\\.jsx?\\'"))) '(("jsx" . "\\.jsx?\\'")))

View file

@ -1,4 +1,4 @@
export PATH=$HOME/bin:$HOME/.local/bin:$PATH export PATH=$HOME/bin:$HOME/.local/bin:$(ruby -rubygems -e "puts Gem.user_dir")/bin:$PATH
export EDITOR='emacs' export EDITOR='emacs'
export VISUAL=$EDITOR export VISUAL=$EDITOR