MIRROR: javascript for ๐Ÿœ's, a tiny runtime with big ambitions
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

proper key color

+3 -2
+1 -1
meson.build
··· 74 74 build_date = run_command('date', '+%Y-%m-%d', check: true).stdout().strip() 75 75 76 76 version_conf = configuration_data() 77 - version_conf.set('ANT_VERSION', '0.0.8.22') 77 + version_conf.set('ANT_VERSION', '0.0.8.23') 78 78 version_conf.set('ANT_GIT_HASH', git_hash) 79 79 version_conf.set('ANT_BUILD_DATE', build_date) 80 80
+2 -1
src/modules/io.c
··· 137 137 138 138 if (*p == '\'' || *p == '"') { 139 139 if (!in_string) { 140 - fprintf(stream, "%s%c", is_key ? JSON_KEY : JSON_STRING, *p); 140 + bool use_key_color = is_key && bracket_depth > 0; 141 + fprintf(stream, "%s%c", use_key_color ? JSON_KEY : JSON_STRING, *p); 141 142 in_string = true; 142 143 string_char = *p; 143 144 } else if (*p == string_char) {