Change the indentation for JavaScript

This commit is contained in:
Tom Willemse 2018-02-06 14:36:26 -08:00
parent 28af36faa3
commit 8f223fca6d

View file

@ -1214,6 +1214,12 @@ Computing Environment".
(add-hook 'js2-mode-hook 'subword-mode)
#+END_SRC
Set the basic offset to 2 spaces for JavaScript.
#+BEGIN_SRC emacs-lisp
(setq js2-basic-offset 2)
#+END_SRC
* Applications
- [[file:init/dired-init.org][Dired]] :: The Emacs file manager. Very powerful, and I don't use it