annotate dot_config/ripgrep/ripgreprc @ 840:f3e87577dd3a

fix: sort keys from template dicts to determistically generate scripts From http://masterminds.github.io/sprig/dicts.html > The keys function will return a list of all of the keys in one or more dict types. > Since a dictionary is unordered, the keys will not be in a predictable order. > They can be sorted with sortAlpha. This results in a different ordering of commands in the generated scripts which break the hashing in chezmoi to determine whether the scripts needs to be re-run.
author zegervdv <zegervdv@me.com>
date Fri, 02 Feb 2024 17:44:49 +0100
parents f308f66cad13
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
504
1403bfc694e4 Add ripgrep configuration file
zegervdv <zegervdv@me.com>
parents:
diff changeset
1 # Only be case sensitive if a case is present
1403bfc694e4 Add ripgrep configuration file
zegervdv <zegervdv@me.com>
parents:
diff changeset
2 --smart-case
1403bfc694e4 Add ripgrep configuration file
zegervdv <zegervdv@me.com>
parents:
diff changeset
3
1403bfc694e4 Add ripgrep configuration file
zegervdv <zegervdv@me.com>
parents:
diff changeset
4 # Limit output
1403bfc694e4 Add ripgrep configuration file
zegervdv <zegervdv@me.com>
parents:
diff changeset
5 --max-columns=150
1403bfc694e4 Add ripgrep configuration file
zegervdv <zegervdv@me.com>
parents:
diff changeset
6 --max-columns-preview
1403bfc694e4 Add ripgrep configuration file
zegervdv <zegervdv@me.com>
parents:
diff changeset
7
1403bfc694e4 Add ripgrep configuration file
zegervdv <zegervdv@me.com>
parents:
diff changeset
8 --type-add
1403bfc694e4 Add ripgrep configuration file
zegervdv <zegervdv@me.com>
parents:
diff changeset
9 hdl:*.{sv,vhd,v}
1403bfc694e4 Add ripgrep configuration file
zegervdv <zegervdv@me.com>
parents:
diff changeset
10 --type-add
1403bfc694e4 Add ripgrep configuration file
zegervdv <zegervdv@me.com>
parents:
diff changeset
11 rtl:*.rtl.{sv,vhd}