Use js2-mode for JavaScript

This commit is contained in:
Correl Roush 2016-02-11 22:00:54 -05:00
parent 142555a58a
commit cab047056b

View file

@ -274,6 +274,13 @@ JavaScript.
"Customize SCSS indentation" "Customize SCSS indentation"
(setq css-indent-offset 2)))) (setq css-indent-offset 2))))
#+END_SRC #+END_SRC
*** JavaScript
#+name: programming
#+BEGIN_SRC emacs-lisp
(use-package js2-mode
:ensure t
:mode ".js$")
#+END_SRC
*** PHP *** PHP
#+name: programming #+name: programming
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp