summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoão Távora <joaotavora@gmail.com>2026-04-29 09:37:45 +0100
committerJoão Távora <joaotavora@gmail.com>2026-04-29 09:38:16 +0100
commit7d1babc1c59ad4c74bd7bbc0e634f33a01da751a (patch)
treea386a0c722770f407e6f2e3ca2d2cebf0e560f1e
parent9cb4cf7aaab11b809cb63987820865d012a8b93f (diff)
Limit very long lines in ripgrep resultsexternals/ack
Long lines still kinda troublesome. * ack.el (ack-command): Pass -M 1500 to rg.
-rw-r--r--ack.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/ack.el b/ack.el
index 42524ed..1e9e847 100644
--- a/ack.el
+++ b/ack.el
@@ -106,7 +106,7 @@
(concat (file-name-nondirectory (or
(concat
(executable-find "rg")
- " -n -H -S --no-heading --hidden --glob=!git --color always -e")
+ " -M 1500 -n -H -S --no-heading --hidden --glob=!git --color always -e")
(executable-find "ack-grep")
(executable-find "ack")
(executable-find "ag")