Make shader preprocessor keyword colors consistent

(cherry picked from commit a5d6152949)
This commit is contained in:
bitsawer 2023-07-06 17:56:26 +03:00 committed by Yuri Sizov
parent 0dec3d6485
commit f5addd583d
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ void ShaderTextEditor::_load_theme_settings() {
ShaderPreprocessor::get_keyword_list(&pp_keywords, false);
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