mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
indents(ecma): Fix switch default indent
This commit is contained in:
parent
440401c506
commit
6c4772f7b6
3 changed files with 10 additions and 0 deletions
8
tests/indent/ecma/switch.js
Normal file
8
tests/indent/ecma/switch.js
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
switch (variable) {
|
||||
case 'case1':
|
||||
foo();
|
||||
break;
|
||||
|
||||
default:
|
||||
bar();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue