diff --git a/modules/gdscript/editor/gdscript_highlighter.cpp b/modules/gdscript/editor/gdscript_highlighter.cpp index 020c8c009a1..b2c8c87aabb 100644 --- a/modules/gdscript/editor/gdscript_highlighter.cpp +++ b/modules/gdscript/editor/gdscript_highlighter.cpp @@ -235,7 +235,7 @@ Map GDScriptSyntaxHighlighter::_get_line_syntax_ } } - if (is_symbol) { + if (is_symbol && in_region == -1) { if (in_function_name) { in_function_args = true; }