summary refs log tree commit diff stats
path: root/emacs/.emacs.d
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d')
-rw-r--r--emacs/.emacs.d/main.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index fae2b959..f2646fc1 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -447,7 +447,9 @@
 
 (use-package ag
   :defer 30
-  :config (setq ag-project-root-function #'projectile-project-root))
+  :config (progn
+            (setq ag-project-root-function #'projectile-project-root)
+            (add-to-list 'ag-arguments "--hidden")))
 
 (use-package wgrep-ag
   :after ag)