Enable subword mode in js2 mode

This commit is contained in:
Tom Willemse 2017-12-31 01:14:56 -08:00
parent e45c08497a
commit 9ae6f7f1be

View file

@ -1189,6 +1189,13 @@ Computing Environment".
(setq js2-strict-trailing-comma-warning nil)
#+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
- [[file:init/dired-init.org][Dired]] :: The Emacs file manager. Very powerful, and I don't use it