diff options
author | VolTer <mew.pur.pur@abv.bg> | 2022-10-06 23:47:19 +0200 |
---|---|---|
committer | VolTer <mew.pur.pur@abv.bg> | 2022-10-06 23:47:19 +0200 |
commit | ac1761c8cdf85887515e9d0c42ed93a43b73a1ea (patch) | |
tree | 85aa75404dc3deaa053d21e902694bb8241cf88e /modules/gdscript | |
parent | 0c23a2cfe3ad897e1e49008629c135764b2c155c (diff) |
Fix outdated keywords autocompletion
Diffstat (limited to 'modules/gdscript')
-rw-r--r-- | modules/gdscript/gdscript_editor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/gdscript/gdscript_editor.cpp b/modules/gdscript/gdscript_editor.cpp index 3d8e2170ed..487a9dd35e 100644 --- a/modules/gdscript/gdscript_editor.cpp +++ b/modules/gdscript/gdscript_editor.cpp @@ -1205,8 +1205,8 @@ static void _find_identifiers(const GDScriptParser::CompletionContext &p_context _find_built_in_variants(r_result); static const char *_keywords[] = { - "false", "PI", "TAU", "INF", "NAN", "self", "true", "breakpoint", "tool", "super", - "break", "continue", "pass", "return", + "true", "false", "PI", "TAU", "INF", "NAN", "null", "self", "super", + "break", "breakpoint", "continue", "pass", "return", nullptr }; @@ -1218,7 +1218,7 @@ static void _find_identifiers(const GDScriptParser::CompletionContext &p_context } static const char *_keywords_with_space[] = { - "and", "in", "not", "or", "as", "class", "extends", "is", "func", "signal", "await", + "and", "not", "or", "in", "as", "class", "class_name", "extends", "is", "func", "signal", "await", "const", "enum", "static", "var", "if", "elif", "else", "for", "match", "while", nullptr }; |