perf(default): eagerly loading yasnippet at startup

This commit is contained in:
Henrik Lissner 2024-09-12 22:07:05 -04:00
parent fa6893eeea
commit 59de0ec15e
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -49,7 +49,8 @@
'(((memq (bound-and-true-p yas--active-field-overlay) '(((memq (bound-and-true-p yas--active-field-overlay)
(overlays-in (1- (point)) (1+ (point)))) (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) ((and (bound-and-true-p yas-minor-mode)
(yas-maybe-expand-abbrev-key-filter 'yas-expand))
#'yas-expand))) #'yas-expand)))
,@(when (modulep! :completion company +tng) ,@(when (modulep! :completion company +tng)
'(((bound-and-true-p company-mode) '(((bound-and-true-p company-mode)