diff --git a/modules/gdscript/editor/gdscript_highlighter.cpp b/modules/gdscript/editor/gdscript_highlighter.cpp index d815e632a..b8dd98bc3 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; }