From 3948704c69ff7551ad0270006a309e55eb11265e Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 25 Aug 2018 19:54:11 +0200 Subject: [PATCH] completion/company: add +tng flag & support --- modules/completion/company/config.el | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/modules/completion/company/config.el b/modules/completion/company/config.el index d682a5a39..b784b2e2e 100644 --- a/modules/completion/company/config.el +++ b/modules/completion/company/config.el @@ -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