completion/company: add +tng flag & support
This commit is contained in:
parent
b14bf99d4b
commit
3948704c69
1 changed files with 13 additions and 1 deletions
|
@ -25,7 +25,19 @@
|
||||||
:when (featurep! +auto)
|
:when (featurep! +auto)
|
||||||
:defer 2
|
:defer 2
|
||||||
:after-call post-self-insert-hook
|
: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
|
(def-package! company-prescient
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue