about summary refs log tree commit diff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/emacs/config/init.el5
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)