summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2018-03-22 14:56:35 +0100
committerAlan Pearce2018-03-22 14:56:35 +0100
commit0215082efed3c5dba12d21d5d59c4d8ca12819c0 (patch)
treeb86581d3d2c43de30b69392be534e3963feb10c4 /emacs
parent680c0bfaba19d8be169b39c56c19a7512d9c9193 (diff)
downloadnixfiles-0215082efed3c5dba12d21d5d59c4d8ca12819c0.tar.lz
nixfiles-0215082efed3c5dba12d21d5d59c4d8ca12819c0.tar.zst
nixfiles-0215082efed3c5dba12d21d5d59c4d8ca12819c0.zip
Emacs: Search hidden files with ripgrep
Diffstat (limited to 'emacs')
-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 0c0bd944..f46ec803 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -457,7 +457,9 @@
 ;; Step over Silver Search, here comes a new challenger.
 
 (use-package ripgrep
-  :if (executable-find "rg"))
+  :if (executable-find "rg")
+  :config (progn
+            (setq ripgrep-arguments '("--hidden"))))
 
 (use-package projectile-ripgrep
   :after (ripgrep projectile)