mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-22 16:28:19 +02:00
Have gen-config output action names as comments
This commit is contained in:
@@ -272,7 +272,7 @@ def generate_class(defn: Definition, loc: str) -> Tuple[str, str]:
|
||||
only.setdefault(sc.only, []).append((text, func))
|
||||
else:
|
||||
for val in func(text):
|
||||
a(f' {val!r},')
|
||||
a(f' {val!r}, # {sc.name}')
|
||||
a(']')
|
||||
if only:
|
||||
imports.add(('kitty.constants', 'is_macos'))
|
||||
|
||||
Reference in New Issue
Block a user