Re-enable auto-complete

This commit is contained in:
Henrik Lissner 2014-07-24 01:25:08 -04:00
parent dcea2b9ad9
commit 21c9090ae6
3 changed files with 13 additions and 14 deletions

View file

@ -4,8 +4,6 @@
(setq tern-ac-on-dot nil)
;; replace auto-complete with tern-ac-complete only in js-mode
(add-hook 'change-major-mode-hook
(lambda () (evil-define-key 'insert ac-mode-map (kbd "C-SPC") 'auto-complete)))
(add-hook 'js-mode-hook
(lambda ()
(evil-define-key 'insert ac-mode-map (kbd "C-SPC") 'tern-ac-complete)
@ -13,7 +11,6 @@
(tern-ac-setup)
))
;; Let flycheck handle parse errors
;; (setq-default js2-show-parse-errors nil)
;; (setq-default js2-strict-missing-semi-warning nil)