mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-22 08:18:08 +02:00
update
This commit is contained in:
@@ -53,7 +53,7 @@ def main(args: list[str]=sys.argv) -> None:
|
|||||||
patch_color_list('tools/cmd/at/set_colors.go', nullable_colors, 'NULLABLE')
|
patch_color_list('tools/cmd/at/set_colors.go', nullable_colors, 'NULLABLE')
|
||||||
patch_color_list('tools/themes/collection.go', all_colors, 'ALL')
|
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}})')
|
write_output('kitty', definition, f'\nnullable_colors = frozenset({{\n {nc}\n}})\n')
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|||||||
@@ -302,7 +302,7 @@ def generate_class(defn: Definition, loc: str) -> Tuple[str, str]:
|
|||||||
else:
|
else:
|
||||||
for val in func(text):
|
for val in func(text):
|
||||||
a(f' # {sc.name}')
|
a(f' # {sc.name}')
|
||||||
a(f' {val!r}, ')
|
a(f' {val!r},')
|
||||||
a(']')
|
a(']')
|
||||||
if only:
|
if only:
|
||||||
imports.add(('kitty.constants', 'is_macos'))
|
imports.add(('kitty.constants', 'is_macos'))
|
||||||
|
|||||||
Reference in New Issue
Block a user