summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.org3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 66793e78..7aeb2163 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -2276,7 +2276,8 @@ of them as well.
   :mode (("/views/.*\\.php\\'" . web-mode)
          ("\\.html\\'" . web-mode)
          ("/templates/.*\\.php\\'" . web-mode)
-         ("\\.ejs\\'" . web-mode))
+         ("\\.ejs\\'" . web-mode)
+         ("\\.njk\\'" . web-mode))
   :config (progn
             (setq web-mode-code-indent-offset 2
                   web-mode-css-indent-offset 2