You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Make shader preprocessor keyword colors consistent
This commit is contained in:
@@ -238,7 +238,7 @@ void ShaderTextEditor::_load_theme_settings() {
|
|||||||
ShaderPreprocessor::get_keyword_list(&pp_keywords, false);
|
ShaderPreprocessor::get_keyword_list(&pp_keywords, false);
|
||||||
|
|
||||||
for (const String &E : pp_keywords) {
|
for (const String &E : pp_keywords) {
|
||||||
syntax_highlighter->add_keyword_color(E, keyword_color);
|
syntax_highlighter->add_keyword_color(E, control_flow_keyword_color);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Colorize built-ins like `COLOR` differently to make them easier
|
// Colorize built-ins like `COLOR` differently to make them easier
|
||||||
|
|||||||
Reference in New Issue
Block a user