1
0
Эх сурвалжийг харах

nixpkgs/neovim: allow grepping hidden files

Thomas Dy 1 сар өмнө
parent
commit
082162f1b0

+ 14 - 0
.config/nixpkgs/neovim/plugins.lua

@@ -42,6 +42,20 @@ require('telescope').setup({
       timeout = 500,
     },
 
+    vimgrep_arguments = {
+      -- defaults
+      "rg",
+      "--color=never",
+      "--no-heading",
+      "--with-filename",
+      "--line-number",
+      "--column",
+      "--smart-case",
+      -- search "hidden" files except git folder
+      "--hidden",
+      "--iglob=!.git"
+    },
+
     -- ignore things we're likely not to edit
     file_ignore_patterns = {
       "%.zip$",