.emacs.d

My Emacs configuration files.
Log | Files | Refs | README

commit f2a3b3d729dadfb87983034dba58761e1acc72fa
parent 7bb37983b5df0508e25b2b636a507221a9a6df54
Author: Hugo Soucy <hugo.soucy@savoirfairelinux.com>
Date:   Tue, 18 Apr 2017 11:06:21 -0400

Add new company-mode settings.

Diffstat:
Mlisp/setup-company-mode.el | 1+
Mlisp/setup-js-mode.el | 2++
2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/lisp/setup-company-mode.el b/lisp/setup-company-mode.el @@ -6,6 +6,7 @@ (require 'company-web-html) ;; Possible improvements of company-mode +(add-to-list 'company-backends 'company-tern) ;; Bigger popup window (setq company-tooltip-limit 20) diff --git a/lisp/setup-js-mode.el b/lisp/setup-js-mode.el @@ -3,4 +3,6 @@ ;; (setq js-switch-indent-offset 4) (setq js2-indent-switch-body t) +(add-hook 'js2-mode-hook 'ac-js2-mode) + (provide 'setup-js-mode)