summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tag-emacs/emacs.d/init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 120c85b..3187d09 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -1254,6 +1254,8 @@ mouse-1: Display Line and Column Mode Menu"))))))
             (setq js2-basic-offset 4
                   js2-global-externs '("$"))))
 
+(add-to-list 'auto-mode-alist '("composer\\.lock" . js-mode))
+
 (req-package jquery-doc
   :defer t
   :init (progn