mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 11:50:09 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
c13e28f894
commit
2c8f2f2fad
829 changed files with 4905 additions and 8010 deletions
22
runtime/queries/glimmer/indents.scm
Normal file
22
runtime/queries/glimmer/indents.scm
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
[
|
||||
(element_node (element_node_start))
|
||||
(element_node_void)
|
||||
(block_statement (block_statement_start))
|
||||
(mustache_statement)
|
||||
] @indent.begin
|
||||
|
||||
(element_node (element_node_end [">"] @indent.end))
|
||||
(element_node_void "/>" @indent.end)
|
||||
[
|
||||
">"
|
||||
"/>"
|
||||
"</"
|
||||
"{{/"
|
||||
"}}"
|
||||
] @indent.branch
|
||||
|
||||
(mustache_statement
|
||||
(helper_invocation helper: (identifier) @_identifier (#eq? @_identifier "else"))
|
||||
) @indent.branch
|
||||
(mustache_statement ((identifier) @_identifier (#eq? @_identifier "else"))) @indent.branch
|
||||
(comment_statement) @indent.ignore
|
||||
Loading…
Add table
Add a link
Reference in a new issue