mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-12 16:30:02 -04:00
fix(indent): ecma - class method indentation
This commit is contained in:
parent
1eaf0150c2
commit
20168d8e20
3 changed files with 34 additions and 1 deletions
20
tests/indent/ecma/class.js
Normal file
20
tests/indent/ecma/class.js
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
class IndentTest {
|
||||
async isEqual(paramOne, paramTwo) {
|
||||
if (paramOne === paramTwo) {
|
||||
return true
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
async isNotEqual(
|
||||
paramOne,
|
||||
paramTwo,
|
||||
) {
|
||||
if (paramOne !== paramTwo) {
|
||||
return true
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue