ripgrep: add .ignore file for po/ translations
This commit is contained in:
@@ -13,6 +13,7 @@
|
|||||||
./mpv.nix
|
./mpv.nix
|
||||||
./neovim.nix
|
./neovim.nix
|
||||||
./newsflash.nix
|
./newsflash.nix
|
||||||
|
./ripgrep.nix
|
||||||
./splatmoji.nix
|
./splatmoji.nix
|
||||||
./ssh.nix
|
./ssh.nix
|
||||||
./sublime-music.nix
|
./sublime-music.nix
|
||||||
|
9
hosts/common/home/ripgrep.nix
Normal file
9
hosts/common/home/ripgrep.nix
Normal 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/
|
||||||
|
'';
|
||||||
|
}
|
Reference in New Issue
Block a user