aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/init-company.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/lisp/init-company.el')
-rw-r--r--.emacs.d/lisp/init-company.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/.emacs.d/lisp/init-company.el b/.emacs.d/lisp/init-company.el
index cc83dbd..58e4de4 100644
--- a/.emacs.d/lisp/init-company.el
+++ b/.emacs.d/lisp/init-company.el
@@ -2,11 +2,13 @@
(add-hook 'after-init-hook 'global-company-mode))
(with-eval-after-load 'company
+ (company-tng-configure-default)
(gx/diminish 'company-mode))
(setq company-global-modes
'(emacs-lisp-mode go-mode ledger-mode sh-mode c++-mode))
(setq company-minimum-prefix-length 1
- company-idle-delay (lambda () (if (company-in-string-or-comment) nil 0.3)))
+ company-idle-delay (lambda () (if (company-in-string-or-comment) nil 0.3))
+ company-selection-wrap-around t)
(provide 'init-company)