refactor: use negated flags

Ref: 7a806521a92c
This commit is contained in:
Henrik Lissner
2024-10-19 14:57:44 -04:00
parent 15904349cf
commit 448bc5cae2
73 changed files with 87 additions and 132 deletions

View File

@@ -265,7 +265,7 @@ The point of this is to avoid Emacs locking up indexing massive file trees."
(replace-regexp-in-string
"[! |]" (lambda (substr)
(cond ((and (string= substr " ")
(not (modulep! +fuzzy)))
(modulep! -fuzzy))
" ")
((string= substr "|")
"\\\\\\\\|")

View File

@@ -366,7 +366,7 @@ workable results ripgrep produces, despite the error."
:when (modulep! +fuzzy)
:unless (modulep! +prescient)
:defer t ; is loaded by ivy
:preface (when (or (not (modulep! +fuzzy))
:preface (when (or (modulep! -fuzzy)
(modulep! +prescient))
(setq ivy--flx-featurep nil))
:init (setq ivy-flx-limit 10000))