diff options
| author | kiyan <yazdani.kiyan@protonmail.com> | 2021-03-09 23:14:27 +0100 |
|---|---|---|
| committer | Kiyan <yazdani.kiyan@protonmail.com> | 2021-03-10 17:34:11 +0100 |
| commit | 3b8c2ea492917fcb3c0e88ad6682dbd355cc0644 (patch) | |
| tree | de412f14c476f809c6e60f06e57136384b99e616 /queries/javascript/indents.scm | |
| parent | update tips in healthcheck (diff) | |
| download | nvim-treesitter-3b8c2ea492917fcb3c0e88ad6682dbd355cc0644.tar nvim-treesitter-3b8c2ea492917fcb3c0e88ad6682dbd355cc0644.tar.gz nvim-treesitter-3b8c2ea492917fcb3c0e88ad6682dbd355cc0644.tar.bz2 nvim-treesitter-3b8c2ea492917fcb3c0e88ad6682dbd355cc0644.tar.lz nvim-treesitter-3b8c2ea492917fcb3c0e88ad6682dbd355cc0644.tar.xz nvim-treesitter-3b8c2ea492917fcb3c0e88ad6682dbd355cc0644.tar.zst nvim-treesitter-3b8c2ea492917fcb3c0e88ad6682dbd355cc0644.zip | |
chore: create ecma base for use in js and ts which fixes jsx issues
Diffstat (limited to 'queries/javascript/indents.scm')
| -rw-r--r-- | queries/javascript/indents.scm | 33 |
1 files changed, 1 insertions, 32 deletions
diff --git a/queries/javascript/indents.scm b/queries/javascript/indents.scm index f3796dbaf..b6d9b28bf 100644 --- a/queries/javascript/indents.scm +++ b/queries/javascript/indents.scm @@ -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 |
