1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Fix variables highlighting as types

This commit is contained in:
dzil123
2022-09-17 01:24:19 -07:00
parent cf157a804f
commit 1e4f47ffe0

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;
}