completion/ivy: turn off my "very magic" regex mod
This makes regex consistent between evil-search, ivy, ripgrep and ag.
This commit is contained in:
parent
ae25e319b0
commit
a41f02e6e7
2 changed files with 3 additions and 6 deletions
|
@ -144,8 +144,7 @@ counsel-rg)."
|
|||
(let ((default-directory counsel--git-dir)
|
||||
(regex (counsel-unquote-regex-parens
|
||||
(setq ivy--old-re
|
||||
(ivy--regex
|
||||
(counsel-unquote-regex-parens string)))))) ;; #2
|
||||
(ivy--regex string)))))
|
||||
(let* ((args-end (string-match " -- " extra-ag-args))
|
||||
(file (if args-end
|
||||
(substring-no-properties extra-ag-args (+ args-end 3))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue