mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-09-21 19:47:21 +03:00
Add preamble to generated file and fix gen-config.py filename
This commit is contained in:
parent
90b54c5f7f
commit
80a62c8d71
@ -292,6 +292,8 @@ def generate_wrappers(glfw_header: str) -> None:
|
||||
f.write(header)
|
||||
|
||||
code = '''
|
||||
// generated by glfw.py DO NOT edit
|
||||
|
||||
#define GFW_EXTERN
|
||||
#include "data-types.h"
|
||||
#include "glfw-wrapper.h"
|
||||
|
@ -36,7 +36,7 @@ def patch_conf(raw: str, theme_name: str) -> str:
|
||||
nraw = raw + addition
|
||||
# comment out all existing color definitions
|
||||
color_conf_items = ( # {{{
|
||||
# generated by gen_config.py do not EDIT
|
||||
# generated by gen-config.py DO NOT edit
|
||||
# ALL_COLORS_START
|
||||
'active_border_color',
|
||||
'active_tab_background',
|
||||
|
Loading…
Reference in New Issue
Block a user