mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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 @@
|
|||
[
|
||||
(element)
|
||||
] @indent
|
||||
|
||||
[
|
||||
(end_tag)
|
||||
">"
|
||||
"/>"
|
||||
] @branch
|
||||
|
||||
(comment) @ignore
|
||||
; inherits: html_tags
|
||||
|
|
|
|||
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 @@
|
|||
[
|
||||
(element)
|
||||
(template_element)
|
||||
] @indent
|
||||
|
||||
[
|
||||
(end_tag)
|
||||
">"
|
||||
"/>"
|
||||
] @branch
|
||||
|
||||
(comment) @ignore
|
||||
; inherits: html_tags
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue