fix js groups

This commit is contained in:
xenia 2023-12-21 14:22:42 +01:00
parent 5b53640d91
commit 3649ee6807

View File

@ -20,8 +20,8 @@ group.type = ["type", "generic_type"]
[filetype.javascript]
group.identifier = ["identifier"]
group.declaration = ["declaration"]
group.statement = ["statement"]
group.declaration = ["function_declaration", "generator_function_declaration", "class_declaration", "lexical_declaration", "variable_declaration"]
group.statement = ["export_statement", "import_statement", "debugger_statement", "expression_statement", "declaration", "statement_block", "if_statement", "switch_statement", "for_statement", "for_in_statement", "while_statement", "do_statement", "try_statement", "with_statement", "break_statement", "continue_statement", "return_statement", "throw_statement", "empty_statement", "labeled_statement"]
group.call = ["call_expression"]
group.arguments = ["arguments", "template_string"]
group.string = ["string", "template_string"]