Working with erb and Ruby gems
This commit is contained in:
parent
8bf4fe71c0
commit
12c9568de2
2 changed files with 2 additions and 1 deletions
|
|
@ -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 '("\\.scss\\'" . 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
|
||||
'(("jsx" . "\\.jsx?\\'")))
|
||||
|
|
|
|||
|
|
@ -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 VISUAL=$EDITOR
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue