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:
Henrik Lissner 2017-12-10 14:54:28 -05:00
parent ae25e319b0
commit a41f02e6e7
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 3 additions and 6 deletions

View file

@ -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))