Merge pull request #65974 from dzil123/highlight_types_incorrect

This commit is contained in:
Rémi Verschelde 2022-09-20 10:20:51 +02:00 committed by GitHub
commit 713e83ecd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ Map<int, TextEdit::HighlighterInfo> GDScriptSyntaxHighlighter::_get_line_syntax_
}
}
if (is_symbol) {
if (is_symbol && in_region == -1) {
if (in_function_name) {
in_function_args = true;
}