Mercurial > dotfiles
annotate dot_config/lua-format/conf.yml @ 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 | e258ef0fb4cd |
children |
rev | line source |
---|---|
379 | 1 column_limit: 100 |
2 indent_width: 2 | |
3 use_tab: false | |
4 chop_down_parameter: true | |
5 break_before_functionref_rp: true | |
6 chop_down_table: true | |
673
e258ef0fb4cd
Add prettier config (#1)
Zeger Van de Vannet <747627+zegervdv@users.noreply.github.com>
parents:
379
diff
changeset
|
7 table_sep: "," |
379 | 8 extra_sep_at_table_end: true |
9 double_quote_to_single_quote: true | |
10 spaces_before_call: 1 | |
11 spaces_inside_table_braces: true |