Enable subword mode in js2 mode
This commit is contained in:
parent
e45c08497a
commit
9ae6f7f1be
1 changed files with 7 additions and 0 deletions
|
@ -1189,6 +1189,13 @@ Computing Environment".
|
||||||
(setq js2-strict-trailing-comma-warning nil)
|
(setq js2-strict-trailing-comma-warning nil)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
Enable ~subword-mode~ because a lot of JavaScript identifiers look
|
||||||
|
either like =someIdentifier= or =SomeClassName=.
|
||||||
|
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(add-hook 'js2-mode-hook 'subword-mode)
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
* Applications
|
* Applications
|
||||||
|
|
||||||
- [[file:init/dired-init.org][Dired]] :: The Emacs file manager. Very powerful, and I don't use it
|
- [[file:init/dired-init.org][Dired]] :: The Emacs file manager. Very powerful, and I don't use it
|
||||||
|
|
Loading…
Reference in a new issue