Enable company mode in JavaScript
This commit is contained in:
parent
1361ea7988
commit
2e12d4c251
1 changed files with 6 additions and 0 deletions
|
@ -1219,6 +1219,12 @@ Computing Environment".
|
||||||
(setq js2-basic-offset 2)
|
(setq js2-basic-offset 2)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
Enable company mode for completions.
|
||||||
|
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(add-hook 'js2-mode-hook 'company-mode)
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
** HTML mode
|
** HTML mode
|
||||||
|
|
||||||
Enable electric pairing so I don't have to worry about closing =<=
|
Enable electric pairing so I don't have to worry about closing =<=
|
||||||
|
|
Loading…
Reference in a new issue