mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-08 14:30:05 -04:00
chore: create ecma base for use in js and ts which fixes jsx issues
This commit is contained in:
parent
ec41db9511
commit
3b8c2ea492
15 changed files with 411 additions and 412 deletions
|
|
@ -1,32 +1 @@
|
|||
; inherits: (jsx)
|
||||
|
||||
[
|
||||
(object)
|
||||
(array)
|
||||
(arguments)
|
||||
(statement_block)
|
||||
(object_pattern)
|
||||
(class_body)
|
||||
(method_definition)
|
||||
(named_imports)
|
||||
(binary_expression)
|
||||
(return_statement)
|
||||
(template_substitution)
|
||||
(expression_statement (call_expression))
|
||||
(export_clause)
|
||||
] @indent
|
||||
|
||||
[
|
||||
(arguments (object))
|
||||
"("
|
||||
")"
|
||||
"{"
|
||||
"}"
|
||||
"["
|
||||
"]"
|
||||
] @branch
|
||||
|
||||
[
|
||||
(comment)
|
||||
(template_string)
|
||||
] @ignore
|
||||
; inherits: ecma,jsx
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue