mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-07 22:10:01 -04:00
feat: add indentation queries for angular
This commit is contained in:
parent
276c343b6b
commit
0d5e1214a5
6 changed files with 127 additions and 0 deletions
|
|
@ -1 +1,16 @@
|
|||
; inherits: html_tags
|
||||
|
||||
[
|
||||
(statement_block)
|
||||
(switch_statement)
|
||||
] @indent.begin
|
||||
|
||||
(statement_block
|
||||
"{" @indent.branch)
|
||||
|
||||
(statement_block
|
||||
"}" @indent.end)
|
||||
|
||||
"}" @indent.branch
|
||||
|
||||
"}" @indent.end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue