aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-05-10 23:16:08 +0800
committerGuangxiong Lin <[email protected]>2022-05-10 23:16:08 +0800
commit63750be6d913da59435ccf1a05c0f28bb2b1b049 (patch)
treee28d140e8f1bcce4df72ec352e2bef0d873c4582
parent7a88b6208dd50374d956128004b8d45c01539337 (diff)
downloaddotfiles-63750be6d913da59435ccf1a05c0f28bb2b1b049.tar.gz
dotfiles-63750be6d913da59435ccf1a05c0f28bb2b1b049.tar.bz2
dotfiles-63750be6d913da59435ccf1a05c0f28bb2b1b049.zip
Fix bug of rg in emacs
-rw-r--r--.emacs.d/lisp/init-minibuffer.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/.emacs.d/lisp/init-minibuffer.el b/.emacs.d/lisp/init-minibuffer.el
index 56c1164..96e6dbf 100644
--- a/.emacs.d/lisp/init-minibuffer.el
+++ b/.emacs.d/lisp/init-minibuffer.el
@@ -39,7 +39,7 @@
(when (executable-find "rg")
(setq affe-grep-command
- "rg --null --line-buffered --color=never --max-columns=1000 \
+ "rg --null --no-line-buffered --color=never --max-columns=1000 \
--path-separator / -v ^$ \
--smart-case --no-heading --line-number --hidden --glob !.git ."))