fix(vertico): consult tofu regex range

This commit is contained in:
Itai Y. Efrat 2022-05-07 12:36:06 +03:00
parent 1f25c3510f
commit 4cecc654b9

View file

@ -54,7 +54,7 @@ orderless."
(cond (cond
;; Ensure $ works with Consult commands, which add disambiguation suffixes ;; Ensure $ works with Consult commands, which add disambiguation suffixes
((string-suffix-p "$" pattern) ((string-suffix-p "$" pattern)
`(orderless-regexp . ,(concat (substring pattern 0 -1) "[\x100000-\x10FFFD]*$"))) `(orderless-regexp . ,(concat (substring pattern 0 -1) "[\x200000-\x300000]*$")))
;; Ignore single ! ;; Ignore single !
((string= "!" pattern) `(orderless-literal . "")) ((string= "!" pattern) `(orderless-literal . ""))
;; Without literal ;; Without literal