You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Remove underscore hacks
Way less cruft. :) Co-authored-by: Ignacio Roldán Etcheverry <neikeq@users.noreply.github.com>
This commit is contained in:
@@ -459,11 +459,7 @@ void GDScriptSyntaxHighlighter::_update_cache() {
|
||||
List<StringName> types;
|
||||
ClassDB::get_class_list(&types);
|
||||
for (const StringName &E : types) {
|
||||
String n = E;
|
||||
if (n.begins_with("_")) {
|
||||
n = n.substr(1, n.length());
|
||||
}
|
||||
keywords[n] = types_color;
|
||||
keywords[E] = types_color;
|
||||
}
|
||||
|
||||
/* User types. */
|
||||
|
||||
Reference in New Issue
Block a user