mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-06 13:30: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
13
tests/indent/angular/switch-case.html
Normal file
13
tests/indent/angular/switch-case.html
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<div>
|
||||
@switch (obj.property) {
|
||||
@case (1) {
|
||||
<p>Case 1</p>
|
||||
}
|
||||
@case (2) {
|
||||
<p>Case 2</p>
|
||||
}
|
||||
@default {
|
||||
<p>Default</p>
|
||||
}
|
||||
}
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue