mirror of
https://github.com/correl/dotfiles.git
synced 2024-11-16 11:09:29 +00:00
Use js2-mode for JavaScript
This commit is contained in:
parent
142555a58a
commit
cab047056b
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue