diff options
| author | Cyril Mizzi <cyril@lesiteimmo.com> | 2021-11-10 18:25:19 +0100 |
|---|---|---|
| committer | Santos Gallegos <stsewd@protonmail.com> | 2021-11-11 21:00:33 -0500 |
| commit | 8d6c2b00448304e6f831e6dcd803395a16a77859 (patch) | |
| tree | 4cfa8891c8b819f957a6673062405889ec6c2a3a | |
| parent | ce866ecc2ff404085e07f256a65e203a8d85dcda (diff) | |
fix: define indents.scm for html_tags and inherits html and vue from this file
| -rw-r--r-- | queries/html/indents.scm | 12 | ||||
| -rw-r--r-- | queries/html_tags/indents.scm | 11 | ||||
| -rw-r--r-- | queries/vue/indents.scm | 13 |
3 files changed, 13 insertions, 23 deletions
diff --git a/queries/html/indents.scm b/queries/html/indents.scm index 7b9d6afe..448e9427 100644 --- a/queries/html/indents.scm +++ b/queries/html/indents.scm @@ -1,11 +1 @@ -[ - (element) -] @indent - -[ - (end_tag) - ">" - "/>" -] @branch - -(comment) @ignore +; inherits: html_tags diff --git a/queries/html_tags/indents.scm b/queries/html_tags/indents.scm new file mode 100644 index 00000000..7b9d6afe --- /dev/null +++ b/queries/html_tags/indents.scm @@ -0,0 +1,11 @@ +[ + (element) +] @indent + +[ + (end_tag) + ">" + "/>" +] @branch + +(comment) @ignore diff --git a/queries/vue/indents.scm b/queries/vue/indents.scm index 7536fa7e..448e9427 100644 --- a/queries/vue/indents.scm +++ b/queries/vue/indents.scm @@ -1,12 +1 @@ -[ - (element) - (template_element) -] @indent - -[ - (end_tag) - ">" - "/>" -] @branch - -(comment) @ignore +; inherits: html_tags |
