mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-27 14:23:43 -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))
|
||||
|
@@ -253,8 +253,7 @@ orderless."
|
||||
(add-to-list 'consult-dir-sources 'consult-dir--source-tramp-local t))
|
||||
|
||||
(use-package! consult-flycheck
|
||||
:when (and (modulep! :checkers syntax)
|
||||
(not (modulep! :checkers syntax +flymake)))
|
||||
:when (modulep! :checkers syntax -flymake)
|
||||
:after (consult flycheck))
|
||||
|
||||
(use-package! consult-yasnippet
|
||||
|
@@ -7,8 +7,7 @@
|
||||
|
||||
(package! consult :pin "0c3f53916ea0db0c472c0a0c620a85cc1b00caf2")
|
||||
(package! consult-dir :pin "15891383f34d43acc5bb82bda92239b1f54cf178")
|
||||
(when (and (modulep! :checkers syntax)
|
||||
(not (modulep! :checkers syntax +flymake)))
|
||||
(when (modulep! :checkers syntax -flymake)
|
||||
(package! consult-flycheck :pin "3b999ae983900c16c0b5b5c30b7eca640d386a76"))
|
||||
(package! embark :pin "19a13e344e04bbf861eaa74491b23da52b398672")
|
||||
(package! embark-consult :pin "19a13e344e04bbf861eaa74491b23da52b398672")
|
||||
|
Reference in New Issue
Block a user