Skip to content

Commit

Permalink
Merge pull request #79112 from bitsawer/fix_preprocessor_keyword_colors
Browse files Browse the repository at this point in the history
Make shader preprocessor keyword colors consistent
  • Loading branch information
akien-mga committed Jul 7, 2023
2 parents f1e63b8 + a5d6152 commit 4438206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/plugins/text_shader_editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4438206

Please sign in to comment.