Browse Source

emacs.el: Use js-mode for node.js bin

pull/1/head
10sr 10 years ago
parent
commit
49d8bbe8d5
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      emacs.el

+ 3
- 0
emacs.el View File

@@ -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


Loading…
Cancel
Save