vcs+rg: fix ignore globs

This commit is contained in:
Daniel Lundin 2024-11-27 14:04:13 +01:00
parent 71660705f0
commit a7aa9c7a72
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI
2 changed files with 11 additions and 5 deletions

View file

@ -53,10 +53,13 @@
ripgrep = {
enable = true;
arguments = [
"--glob=!.git/*"
"--glob=!.jj/*"
"--glob=!result/*"
"--glob=!target/*"
"--glob=!**/.cache/*"
"--glob=!**/.direnv/*"
"--glob=!**/.git/*"
"--glob=!**/.jj/*"
"--glob=!**/{node_modules,.npm,dist}/*"
"--glob=!**/target/*"
"--glob=!**/result/*"
];
};

View file

@ -116,9 +116,12 @@
"*.so"
"*.swp"
".direnv"
".env"
".idea"
".nixos-test-history"
".null-ls_*"
"result"
"/result*"
"/target"
];
signing = {