Change the indentation for JavaScript
This commit is contained in:
parent
28af36faa3
commit
8f223fca6d
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue