You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Highlight singletons and class_names in GDScript
Also, implement a small QoL change for auto-typed variables. Closes #5739
This commit is contained in:
@@ -247,7 +247,7 @@ Map<int, TextEdit::HighlighterInfo> GDScriptSyntaxHighlighter::_get_line_syntax_
|
||||
in_function_args = false;
|
||||
}
|
||||
|
||||
if (expect_type && prev_is_char) {
|
||||
if (expect_type && (prev_is_char || str[j] == '=')) {
|
||||
expect_type = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user