diff options
Diffstat (limited to 'editor/editor_native_shader_source_visualizer.cpp')
-rw-r--r-- | editor/editor_native_shader_source_visualizer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_native_shader_source_visualizer.cpp b/editor/editor_native_shader_source_visualizer.cpp index 0e3e44bb7e..d87f17f22a 100644 --- a/editor/editor_native_shader_source_visualizer.cpp +++ b/editor/editor_native_shader_source_visualizer.cpp @@ -66,6 +66,8 @@ void EditorNativeShaderSourceVisualizer::_load_theme_settings() { // Colorize preprocessor statements. const Color user_type_color = EDITOR_GET("text_editor/theme/highlighting/user_type_color"); syntax_highlighter->add_color_region("#", "", user_type_color, true); + + syntax_highlighter->set_uint_suffix_enabled(true); } void EditorNativeShaderSourceVisualizer::_inspect_shader(RID p_shader) { |