1
0
Fork 0

Add emacs web-mode extension (mustache)

This commit is contained in:
Jeremy Kaplan 2017-06-20 20:09:17 -04:00
commit 92b68e70b8

View file

@ -238,6 +238,7 @@ they line up with the line containing the corresponding opening bracket."
(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)) (add-to-list 'auto-mode-alist '("\\.erb\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.mustache\\'" . web-mode))
(setq web-mode-content-types-alist (setq web-mode-content-types-alist
'(("jsx" . "\\.jsx?\\'"))) '(("jsx" . "\\.jsx?\\'")))