feat(vue): add indents.scm file

There's no indentation file for Vue. This implementation is based on the HTML indentation file with a minor support for the `template_element` tag. As JS is bind with the JS Tree-sitter, the indentation is already fine.
This commit is contained in:
Cyril Mizzi 2021-11-10 11:35:08 +01:00 committed by Santos Gallegos
parent 0e25e0e989
commit ce866ecc2f

12
queries/vue/indents.scm Normal file
View file

@ -0,0 +1,12 @@
[
(element)
(template_element)
] @indent
[
(end_tag)
">"
"/>"
] @branch
(comment) @ignore