diff options
author | Vincent Ambo <tazjin@google.com> | 2019-12-17T11·46+0000 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2019-12-17T11·46+0000 |
commit | ef3e5072ef89e7ff330deba94a87d1d0156aace7 (patch) | |
tree | b390c5d666b2730585d7da2977c015c9526d9bf2 /tools/emacs/config/init.el | |
parent | 5727b6d24f2e462d53d2c44f50bd5b07276eb024 (diff) |
fix(emacs.d): Fix regex passing in counsel-rg r/174
Diffstat (limited to 'tools/emacs/config/init.el')
-rw-r--r-- | tools/emacs/config/init.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/emacs/config/init.el b/tools/emacs/config/init.el index bf36f6651a18..efe7cb6ef82a 100644 --- a/tools/emacs/config/init.el +++ b/tools/emacs/config/init.el @@ -60,7 +60,10 @@ (use-package ivy-prescient :after (ivy prescient) :config - (ivy-prescient-mode)) + (ivy-prescient-mode) + ;; Fixes an issue with how regexes are passed to ripgrep from counsel, + ;; see raxod502/prescient.el#43 + (setf (alist-get 'counsel-rg ivy-re-builders-alist) #'ivy--regex-plus)) (use-package multiple-cursors) |