From 4a94599b1979720acfd78967ded3b5637e693d3e Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 31 Jan 2019 16:17:17 -0500 Subject: [PATCH] Fix TAB fallthrough if yas-minor-mode is disabled yas-expand will error out if yas-minor-mode is disabled, preventing TAB from falling through to the next action. --- modules/config/default/+evil-bindings.el | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/config/default/+evil-bindings.el b/modules/config/default/+evil-bindings.el index abbf65db9..18418fd91 100644 --- a/modules/config/default/+evil-bindings.el +++ b/modules/config/default/+evil-bindings.el @@ -27,6 +27,7 @@ ;; Smart tab :i [tab] (general-predicate-dispatch nil ; fall back to nearest keymap (and (featurep! :feature snippets) + (bound-and-true-p yas-minor-mode) (yas-maybe-expand-abbrev-key-filter 'yas-expand)) 'yas-expand (and (featurep! :completion company +tng)