mirror of
https://github.com/godotengine/godot
synced 2024-10-04 16:34:23 +00:00
Allow unicode identifier in GDScript syntax highlighter
This commit is contained in:
parent
a3dae9e548
commit
5a283bdbcd
|
@ -307,7 +307,7 @@ Dictionary GDScriptSyntaxHighlighter::_get_line_syntax_highlighting_impl(int p_l
|
|||
in_number = true;
|
||||
}
|
||||
|
||||
if (!in_word && (is_ascii_char(str[j]) || is_underscore(str[j])) && !in_number) {
|
||||
if (!in_word && is_unicode_identifier_start(str[j]) && !in_number) {
|
||||
in_word = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue