mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-31 14:43:40 -05:00
refactor: use negated flags
Ref: 7a806521a92c
This commit is contained in:
@@ -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 "|")
|
||||
"\\\\\\\\|")
|
||||
|
@@ -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))
|
||||
|
Reference in New Issue
Block a user