aboutsummaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/init.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2018-06-13 15:38:07 -0700
committerGravatar Tom Willemse2018-06-13 15:38:07 -0700
commit67c2b8ed1f8d5be62f8dff6d37a32faf9d45a503 (patch)
treed945572e1c6191097da63d239a30f34af2c63196 /emacs/.emacs.d/init.el
parent0ed42930292d1ec7b2bbd845326362cd22dbaf1c (diff)
downloadnew-dotfiles-67c2b8ed1f8d5be62f8dff6d37a32faf9d45a503.tar.gz
new-dotfiles-67c2b8ed1f8d5be62f8dff6d37a32faf9d45a503.zip
Add mode specifications for jsx and blade templates
Diffstat (limited to 'emacs/.emacs.d/init.el')
-rw-r--r--emacs/.emacs.d/init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index ff5a065..585266a 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -307,7 +307,9 @@
"Major mode for editing msmtp configuration files."
:interactive)
+(add-to-list 'auto-mode-alist '("\\.blade\\.php\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode))
+(add-to-list 'auto-mode-alist '("\\.jsx\\'" . rjsx-mode))
(add-to-list 'auto-mode-alist '("\\.mbsyncrc\\'" . mbsync-conf-mode))
(add-to-list 'auto-mode-alist '("\\.msmtprc\\'" . msmtprc-mode))