We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b026563 + b568e6d commit 769a234Copy full SHA for 769a234
modules/hooks.nix
@@ -892,6 +892,7 @@ in
892
type = types.str;
893
description = lib.mdDoc "Path to a custom config file.";
894
default = "";
895
+ example = ".typos.toml";
896
};
897
898
diff =
@@ -2153,6 +2154,11 @@ in
2153
2154
in
2155
"${tools.typos}/bin/typos ${cmdArgs}${lib.optionalString settings.typos.diff " --diff"}${lib.optionalString settings.typos.hidden " --hidden"}";
2156
types = [ "text" ];
2157
+ # Typos is supposed to run on the whole tree. If this is set to true,
2158
+ # the system gets stuck for large projects due to very high memory
2159
+ # consumption. The restriction on with files typos run, should be
2160
+ # specified in the typos config file.
2161
+ pass_filenames = false;
2162
2163
typstfmt = {
2164
name = "typstfmt";
0 commit comments