Don't invoke company on TAB if company-mode isn't active
This commit is contained in:
parent
d2426d8442
commit
1c0cfd459b
1 changed files with 2 additions and 1 deletions
|
@ -42,7 +42,8 @@
|
||||||
(bound-and-true-p yas-minor-mode)
|
(bound-and-true-p yas-minor-mode)
|
||||||
(yas-maybe-expand-abbrev-key-filter 'yas-expand))
|
(yas-maybe-expand-abbrev-key-filter 'yas-expand))
|
||||||
#'yas-expand
|
#'yas-expand
|
||||||
(featurep! :completion company +tng)
|
(and (bound-and-true-p company-mode)
|
||||||
|
(featurep! :completion company +tng))
|
||||||
#'company-indent-or-complete-common)
|
#'company-indent-or-complete-common)
|
||||||
:m [tab] (cmds! (and (bound-and-true-p yas-minor-mode)
|
:m [tab] (cmds! (and (bound-and-true-p yas-minor-mode)
|
||||||
(evil-visual-state-p)
|
(evil-visual-state-p)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue