From cab047056ba2e712760b8d38c3ffd033e81f8f4b Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Thu, 11 Feb 2016 22:00:54 -0500 Subject: [PATCH] Use js2-mode for JavaScript --- .emacs.d/emacs.org | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.emacs.d/emacs.org b/.emacs.d/emacs.org index 65dc312..6535a9d 100644 --- a/.emacs.d/emacs.org +++ b/.emacs.d/emacs.org @@ -274,6 +274,13 @@ JavaScript. "Customize SCSS indentation" (setq css-indent-offset 2)))) #+END_SRC +*** JavaScript +#+name: programming +#+BEGIN_SRC emacs-lisp + (use-package js2-mode + :ensure t + :mode ".js$") +#+END_SRC *** PHP #+name: programming #+BEGIN_SRC emacs-lisp