diff options
Diffstat (limited to 'lisp/+vertico.el')
-rw-r--r-- | lisp/+vertico.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lisp/+vertico.el b/lisp/+vertico.el index 4adde3d..d4fb3a3 100644 --- a/lisp/+vertico.el +++ b/lisp/+vertico.el | |||
@@ -12,5 +12,13 @@ | |||
12 | (unless (eq 1 (abs (- beg-index vertico--index))) | 12 | (unless (eq 1 (abs (- beg-index vertico--index))) |
13 | (ding)))) | 13 | (ding)))) |
14 | 14 | ||
15 | (defun +vertico-widen-or-complete () | ||
16 | (interactive) | ||
17 | (if (or vertico-unobtrusive-mode | ||
18 | vertico-flat-mode) | ||
19 | (progn (vertico-unobtrusive-mode -1) | ||
20 | (vertico-flat-mode -1)) | ||
21 | (call-interactively #'vertico-insert))) | ||
22 | |||
15 | (provide '+vertico) | 23 | (provide '+vertico) |
16 | ;;; +vertico.el ends here | 24 | ;;; +vertico.el ends here |