From fc0e0acd655b2710389b39d1cba8c24b09bdf9a2 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sat, 8 May 2021 22:10:25 +0100 Subject: [PATCH] feat(navigation): improve list of files searched by helm-ag via ripgrep --- modules/navigation/siren-helm-ag.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/navigation/siren-helm-ag.el b/modules/navigation/siren-helm-ag.el index dae2e0a..5a6ec2c 100644 --- a/modules/navigation/siren-helm-ag.el +++ b/modules/navigation/siren-helm-ag.el @@ -17,7 +17,11 @@ ("a" . helm-do-ag)) :custom - (helm-ag-base-command "rg --no-heading") + (helm-ag-base-command (mapconcat 'identity + '("rg" "--no-heading" "--hidden" + "--glob !.git/*" + "--glob !.bundle/*" + "--glob !.vscode/*") " ")) (helm-ag-use-emacs-lisp-regexp nil) (helm-ag-ignore-patterns '("*.min-latest.css" "*.min-latest.js"