Initial public release of Warp.

Repo-Sync-Origin: warpdotdev/warp-internal@12af1d983b
This commit is contained in:
David Stern
2026-04-28 08:43:33 -05:00
commit 0dbd3d567a
4982 changed files with 1431549 additions and 0 deletions
@@ -0,0 +1,11 @@
display_name: "JavaScript"
indent_unit:
space: 4
comment_prefix: "//"
brackets:
- start: "{"
end: "}"
- start: "("
end: ")"
- start: "["
end: "]"
@@ -0,0 +1,10 @@
(comment) @comment
; Function and method definitions
(function_expression name: (identifier) @definition.function)
(function_declaration name: (identifier) @definition.function)
(method_definition name: (property_identifier) @definition)
; Class declarations
(class name: (_) @definition.class)
(class_declaration name: (_) @definition.class)
@@ -0,0 +1,44 @@
[
(array)
(object)
(arguments)
(formal_parameters)
(statement_block)
(switch_statement)
(switch_case)
(switch_default)
(object_pattern)
(class_body)
(named_imports)
(binary_expression)
(return_statement)
(template_substitution)
(export_clause)
(call_expression)
(assignment_expression)
(member_expression)
(lexical_declaration)
(variable_declaration)
(assignment_expression)
(if_statement)
(for_statement)
(for_in_statement)
(while_statement)
(do_statement)
(try_statement)
(with_statement)
(throw_statement)
(export_statement)
(import_statement)
] @indent
[
"}"
"]"
")"
] @outdent