From 83c21d614231c98baa55f612ad5ea40961614ce1 Mon Sep 17 00:00:00 2001 From: brettlangdon Date: Sun, 19 Jan 2014 19:23:53 -0500 Subject: [PATCH] set js-mode for node and el-doc for php mode --- emacs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/emacs b/emacs index 4b7f1ca..9d32ca4 100644 --- a/emacs +++ b/emacs @@ -60,6 +60,9 @@ (add-to-list 'auto-mode-alist '("\\.json$" . json-mode)) (add-to-list 'auto-mode-alist '("\\.php$" . php-mode)) +(add-to-list 'magic-mode-alist '(".*env.*node" . js-mode) ) + +(add-hook 'php-mode-hook 'eldoc-mode) ;solarize ALL the things (color-theme-initialize)