|
@@ -245,7 +245,7 @@
|
|
|
"captures": { "1": { "name": "keyword.control.gdscript" } }
|
|
|
},
|
|
|
"keywords": {
|
|
|
- "match": "\\b(?:class|class_name|is|onready|tool|static|export|as|void|enum|assert|breakpoint|sync|remote|master|puppet|slave|remotesync|mastersync|puppetsync|trait|namespace)\\b",
|
|
|
+ "match": "\\b(?:class|class_name|abstract|is|onready|tool|static|export|as|void|enum|assert|breakpoint|sync|remote|master|puppet|slave|remotesync|mastersync|puppetsync|trait|namespace)\\b",
|
|
|
"name": "keyword.language.gdscript"
|
|
|
},
|
|
|
"letter": {
|
|
@@ -263,22 +263,17 @@
|
|
|
"name": "constant.numeric.integer.hexadecimal.gdscript"
|
|
|
},
|
|
|
{
|
|
|
- "match": "[-]?([0-9][0-9_]+\\.[0-9_]*(e[\\-\\+]?[0-9_]+)?)",
|
|
|
+ "match": "\\.[0-9][0-9_]*([eE][+-]?[0-9_]+)?",
|
|
|
"name": "constant.numeric.float.gdscript"
|
|
|
},
|
|
|
{
|
|
|
- "match": "[-]?(\\.[0-9][0-9_]*(e[\\-\\+]?[0-9_]+)?)",
|
|
|
+ "match": "([0-9][0-9_]*)?\\.[0-9_]*([eE][+-]?[0-9_]+)?",
|
|
|
"name": "constant.numeric.float.gdscript"
|
|
|
},
|
|
|
{
|
|
|
- "match": "[-]?([0-9][0-9_]*e[\\-\\+]?\\[0-9_])",
|
|
|
+ "match": "[0-9][0-9_]*[eE][+-]?[0-9_]+",
|
|
|
"name": "constant.numeric.float.gdscript"
|
|
|
},
|
|
|
- {
|
|
|
- "name": "constant.numeric.float.gdscript",
|
|
|
- "match": "(?x)\n (?<! \\w)(?:\n (?:\n \\.[0-9](?: _?[0-9] )*\n |\n [0-9](?: _?[0-9] )* \\. [0-9](?: _?[0-9] )*\n |\n [0-9](?: _?[0-9] )* \\.\n ) (?: [eE][+-]?[0-9](?: _?[0-9] )* )?\n |\n [0-9](?: _?[0-9] )* (?: [eE][+-]?[0-9](?: _?[0-9] )* )\n )([jJ])?\\b\n",
|
|
|
- "captures": { "1": { "name": "storage.type.imaginary.number.gdscript" } }
|
|
|
- },
|
|
|
{
|
|
|
"match": "[-]?[0-9][0-9_]*",
|
|
|
"name": "constant.numeric.integer.gdscript"
|
|
@@ -435,7 +430,7 @@
|
|
|
]
|
|
|
},
|
|
|
"annotations": {
|
|
|
- "match": "(@)(export|export_color_no_alpha|export_custom|export_dir|export_enum|export_exp_easing|export_file|export_flags|export_flags_2d_navigation|export_flags_2d_physics|export_flags_2d_render|export_flags_3d_navigation|export_flags_3d_physics|export_flags_3d_render|export_global_dir|export_global_file|export_multiline|export_node_path|export_placeholder|export_range|export_storage|icon|onready|rpc|tool|warning_ignore|abstract|static_unload)\\b",
|
|
|
+ "match": "(@)(export|export_group|export_color_no_alpha|export_custom|export_dir|export_enum|export_exp_easing|export_file|export_flags|export_flags_2d_navigation|export_flags_2d_physics|export_flags_2d_render|export_flags_3d_navigation|export_flags_3d_physics|export_flags_3d_render|export_global_dir|export_global_file|export_multiline|export_node_path|export_placeholder|export_range|export_storage|icon|onready|rpc|tool|warning_ignore|static_unload)\\b",
|
|
|
"captures": {
|
|
|
"1": { "name": "entity.name.function.decorator.gdscript" },
|
|
|
"2": { "name": "entity.name.function.decorator.gdscript" }
|