fix(default): replace void function +yas-active-p
This commit is contained in:
parent
5289861109
commit
f44309cb63
1 changed files with 2 additions and 1 deletions
|
@ -46,7 +46,8 @@
|
||||||
(doom-lookup-key (kbd "TAB") overriding-terminal-local-map))
|
(doom-lookup-key (kbd "TAB") overriding-terminal-local-map))
|
||||||
cmd)
|
cmd)
|
||||||
,@(when (modulep! :editor snippets)
|
,@(when (modulep! :editor snippets)
|
||||||
'(((+yas-active-p)
|
'(((memq (bound-and-true-p yas--active-field-overlay)
|
||||||
|
(overlays-in (1- (point)) (1+ (point))))
|
||||||
#'yas-next-field-or-maybe-expand)
|
#'yas-next-field-or-maybe-expand)
|
||||||
((yas-maybe-expand-abbrev-key-filter 'yas-expand)
|
((yas-maybe-expand-abbrev-key-filter 'yas-expand)
|
||||||
#'yas-expand)))
|
#'yas-expand)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue