From 49d8bbe8d5ffe60e2042bb943f11216c7f6f3976 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Mon, 20 Oct 2014 15:47:47 +0900 Subject: [PATCH] emacs.el: Use js-mode for node.js bin --- emacs.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/emacs.el b/emacs.el index 9672d8a..3ef1ddb 100644 --- a/emacs.el +++ b/emacs.el @@ -1122,6 +1122,9 @@ found, otherwise returns nil." ;; t) ))) +(add-to-list 'interpreter-mode-alist + '("node" . js-mode)) + (add-hook 'haskell-mode-hook 'turn-on-haskell-indentation) (when (lazy-load-eval 'flymake-jslint