all repos — archive/dotfiles @ 4d2d0a9511159eca3a3c8945d13fe36821c5e7e6

Superseded by nixfiles

Emacs: Open composer.lock files in js-mode
Alan Pearce alan@alanpearce.co.uk
Sat, 08 Nov 2014 17:33:07 +0000
commit

4d2d0a9511159eca3a3c8945d13fe36821c5e7e6

parent

3503c771b792143ba74d97db8100d88e341615dd

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -1254,6 +1254,8 @@ (add-hook 'js2-mode-hook #'ap/javascript-setup)             (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