Enable company mode in JavaScript

This commit is contained in:
Tom Willemse 2018-02-07 00:53:11 -08:00
parent 1361ea7988
commit 2e12d4c251

View file

@ -1219,6 +1219,12 @@ Computing Environment".
(setq js2-basic-offset 2)
#+END_SRC
Enable company mode for completions.
#+BEGIN_SRC emacs-lisp
(add-hook 'js2-mode-hook 'company-mode)
#+END_SRC
** HTML mode
Enable electric pairing so I don't have to worry about closing =<=