emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/ivy-hydra 45a3609 176/395: counsel.el (counsel-rg-base-


From: Basil L. Contovounesios
Subject: [elpa] externals/ivy-hydra 45a3609 176/395: counsel.el (counsel-rg-base-command): Add "-M 120" by default
Date: Thu, 25 Feb 2021 08:31:57 -0500 (EST)

branch: externals/ivy-hydra
commit 45a3609b82713f06c77099f9d816fd2c7e1a2230
Author: Oleh Krehel <ohwoeowho@gmail.com>
Commit: Oleh Krehel <ohwoeowho@gmail.com>

    counsel.el (counsel-rg-base-command): Add "-M 120" by default
    
    It's easier for the user to turn this off than to turn it on.
    
    Fixes #2482
---
 counsel.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/counsel.el b/counsel.el
index c2ce44a..d556d6c 100644
--- a/counsel.el
+++ b/counsel.el
@@ -3034,8 +3034,8 @@ This uses `counsel-ag' with `counsel-ack-base-command' 
replacing
 ;;** `counsel-rg'
 (defcustom counsel-rg-base-command
   (if (memq system-type '(ms-dos windows-nt))
-      "rg --with-filename --no-heading --line-number --path-separator / 
--color never %s ."
-    "rg --with-filename --no-heading --line-number --color never %s")
+      "rg -M 120 --with-filename --no-heading --line-number --color never %s 
--path-separator /."
+    "rg -M 120 --with-filename --no-heading --line-number --color never %s")
   "Alternative to `counsel-ag-base-command' using ripgrep.
 
 Note: don't use single quotes for the regex."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]