mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 11:50:09 -04:00
feat(indent): ecma - support try_catch and if_else
This commit is contained in:
parent
bb60706433
commit
8f9d4ada35
6 changed files with 75 additions and 0 deletions
8
tests/indent/ecma/try_catch.js
Normal file
8
tests/indent/ecma/try_catch.js
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
try {
|
||||
throw Error()
|
||||
} catch (err) {
|
||||
throw error
|
||||
} finally {
|
||||
console.log("42")
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue