completion/company: add +tng flag & support

This commit is contained in:
Henrik Lissner 2018-08-25 19:54:11 +02:00
parent b14bf99d4b
commit 3948704c69
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -25,7 +25,19 @@
:when (featurep! +auto)
:defer 2
:after-call post-self-insert-hook
:config (setq company-idle-delay 0.2))
:config (setq company-idle-delay 0.1))
(def-package! company-tng
:when (featurep! +tng)
:defer 2
:after-call post-self-insert-hook
:config
(add-to-list 'company-frontends 'company-tng-frontend)
(define-key! company-active-map
[return] nil
[tab] #'company-select-next
[backtab] #'company-select-previous))
(def-package! company-prescient