summary refs log tree commit diff stats
path: root/emacs/.emacs.d
diff options
context:
space:
mode:
authorAlan Pearce2017-10-23 14:25:33 +0200
committerAlan Pearce2017-10-23 14:25:33 +0200
commit905eb9464776c47504fef096f791e49141fa5d72 (patch)
tree6c77c89569d3a47419584ce37ecd2cac3939b226 /emacs/.emacs.d
parent92dc1beb83f9e0b56f645d7934488907389d640e (diff)
downloadnixfiles-905eb9464776c47504fef096f791e49141fa5d72.tar.lz
nixfiles-905eb9464776c47504fef096f791e49141fa5d72.tar.zst
nixfiles-905eb9464776c47504fef096f791e49141fa5d72.zip
Emacs: Open .handlebars with web-mode
Diffstat (limited to 'emacs/.emacs.d')
-rw-r--r--emacs/.emacs.d/main.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 1b30808f..09c7368d 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -2213,6 +2213,7 @@ With prefix TO-CURRENT-BUFFER, insert command output into buffer."
   :mode (("/views/.*\\.php\\'" . web-mode)
          ("\\.html\\'" . web-mode)
          ("/templates/.*\\.php\\'" . web-mode)
+         ("\\.handlebars\\'" . web-mode)
          ("\\.ejs\\'" . web-mode)
          ("\\.njk\\'" . web-mode))
   :config (progn