Update type signatures generated by gen/config.py

This commit is contained in:
Kovid Goyal
2025-02-11 22:22:57 +05:30
parent c7fb942c4c
commit fb54f1527f
4 changed files with 21 additions and 18 deletions

View File

@@ -52,7 +52,7 @@ def main(args: list[str]=sys.argv) -> None:
all_colors.append(opt.name)
patch_color_list('tools/cmd/at/set_colors.go', nullable_colors, 'NULLABLE')
patch_color_list('tools/themes/collection.go', all_colors, 'ALL')
nc = '\n, '.join(f'{x!r}' for x in nullable_colors)
nc = ',\n '.join(f'{x!r}' for x in nullable_colors)
write_output('kitty', definition, f'\nnullable_colors = frozenset({{\n {nc}\n}})\n')