Update affe config
This commit is contained in:
parent
6a8748d142
commit
1d2b9d16f5
|
@ -77,8 +77,10 @@ char."
|
|||
:config
|
||||
(setq affe-grep-command (replace-regexp-in-string "\\." "-Suu ." affe-grep-command))
|
||||
;; Configure Orderless
|
||||
(setq affe-regexp-function #'orderless-pattern-compiler
|
||||
affe-highlight-function #'orderless--highlight)
|
||||
(defun affe-orderless-regexp-compiler (input _type _ignorecase)
|
||||
(setq input (orderless-pattern-compiler input))
|
||||
(cons input (lambda (str) (orderless--highlight input str))))
|
||||
(setq affe-regexp-compiler #'affe-orderless-regexp-compiler)
|
||||
;; Manual preview key for `affe-grep'
|
||||
(consult-customize affe-grep :preview-key (kbd "M-."))
|
||||
(defun my/affe-grep-symbol-at-point (&optional dir initial)
|
||||
|
|
Loading…
Reference in New Issue