From 4d2d0a9511159eca3a3c8945d13fe36821c5e7e6 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 8 Nov 2014 17:33:07 +0000 Subject: Emacs: Open composer.lock files in js-mode --- tag-emacs/emacs.d/init.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tag-emacs/emacs.d/init.el') diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 120c85b2..3187d090 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 -- cgit 1.4.1