fix(config): fix corfu smart tab behavior

This commit is contained in:
StrawberryTea
2024-05-10 22:08:32 -05:00
parent 390f5920a2
commit 0a4d22e5b7
2 changed files with 6 additions and 9 deletions

View File

@ -1,7 +0,0 @@
;;; config/default/autoload/filters.el -*- lexical-binding: t; -*-
;;;###autoload
(defun +yas-active-p ()
"Return t if we are in a YASnippet field."
(memq (bound-and-true-p yas--active-field-overlay)
(overlays-in (1- (point)) (1+ (point)))))