ripgrep: add .ignore file for po/ translations

This commit is contained in:
Colin 2023-02-22 21:08:34 +00:00
parent 1c867c5160
commit b519de1d6f
2 changed files with 10 additions and 0 deletions

View File

@ -13,6 +13,7 @@
./mpv.nix
./neovim.nix
./newsflash.nix
./ripgrep.nix
./splatmoji.nix
./ssh.nix
./sublime-music.nix

View File

@ -0,0 +1,9 @@
{ sane-lib, ... }:
{
# .ignore file is read by ripgrep (rg), silver searcher (ag), maybe others.
# ignore translation files by default when searching, as they tend to have
# a LOT of duplicate text.
sane.user.fs.".ignore" = sane-lib.fs.wantedText ''
po/
'';
}