mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 11:20:07 -04:00
fix: define indents.scm for html_tags and inherits html and vue from this file
This commit is contained in:
parent
ce866ecc2f
commit
8d6c2b0044
3 changed files with 13 additions and 23 deletions
|
|
@ -1,11 +1 @@
|
||||||
[
|
; inherits: html_tags
|
||||||
(element)
|
|
||||||
] @indent
|
|
||||||
|
|
||||||
[
|
|
||||||
(end_tag)
|
|
||||||
">"
|
|
||||||
"/>"
|
|
||||||
] @branch
|
|
||||||
|
|
||||||
(comment) @ignore
|
|
||||||
|
|
|
||||||
11
queries/html_tags/indents.scm
Normal file
11
queries/html_tags/indents.scm
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
[
|
||||||
|
(element)
|
||||||
|
] @indent
|
||||||
|
|
||||||
|
[
|
||||||
|
(end_tag)
|
||||||
|
">"
|
||||||
|
"/>"
|
||||||
|
] @branch
|
||||||
|
|
||||||
|
(comment) @ignore
|
||||||
|
|
@ -1,12 +1 @@
|
||||||
[
|
; inherits: html_tags
|
||||||
(element)
|
|
||||||
(template_element)
|
|
||||||
] @indent
|
|
||||||
|
|
||||||
[
|
|
||||||
(end_tag)
|
|
||||||
">"
|
|
||||||
"/>"
|
|
||||||
] @branch
|
|
||||||
|
|
||||||
(comment) @ignore
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue