diff options
author | Brian Semrau <brian.semrau@gmail.com> | 2020-07-28 15:16:24 -0400 |
---|---|---|
committer | Brian Semrau <brian.semrau@gmail.com> | 2020-07-28 15:16:24 -0400 |
commit | 69d1c48b73122f34187d952a08f2a7eb82fd2403 (patch) | |
tree | 69f2ecc02f440967c46f314548dd9b501cc244f7 /editor/plugins/shader_editor_plugin.cpp | |
parent | 91b21e5fbc7ad00cf251d89129c84f921935e5f4 (diff) |
Fixed shader editor comment highlighting
Diffstat (limited to 'editor/plugins/shader_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/shader_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/shader_editor_plugin.cpp b/editor/plugins/shader_editor_plugin.cpp index dc2abe15ee..2a7f3f0656 100644 --- a/editor/plugins/shader_editor_plugin.cpp +++ b/editor/plugins/shader_editor_plugin.cpp @@ -172,7 +172,7 @@ void ShaderTextEditor::_load_theme_settings() { const Color comment_color = EDITOR_GET("text_editor/highlighting/comment_color"); syntax_highlighter->clear_color_regions(); syntax_highlighter->add_color_region("/*", "*/", comment_color, false); - syntax_highlighter->add_color_region("//", "", comment_color, false); + syntax_highlighter->add_color_region("//", "", comment_color, true); } void ShaderTextEditor::_check_shader_mode() { |