aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/ecma/issue-2515.js
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2022-02-11 23:46:51 +0100
committerKiyan <yazdani.kiyan@protonmail.com>2022-04-04 09:03:30 +0200
commitbda4b35f76a628f9212590c39255edce221bcf7b (patch)
tree67ed842ed90833dd5c1bc4146054a6f078d99073 /tests/indent/ecma/issue-2515.js
parentChanged quotes to appease stylua (diff)
downloadnvim-treesitter-bda4b35f76a628f9212590c39255edce221bcf7b.tar
nvim-treesitter-bda4b35f76a628f9212590c39255edce221bcf7b.tar.gz
nvim-treesitter-bda4b35f76a628f9212590c39255edce221bcf7b.tar.bz2
nvim-treesitter-bda4b35f76a628f9212590c39255edce221bcf7b.tar.lz
nvim-treesitter-bda4b35f76a628f9212590c39255edce221bcf7b.tar.xz
nvim-treesitter-bda4b35f76a628f9212590c39255edce221bcf7b.tar.zst
nvim-treesitter-bda4b35f76a628f9212590c39255edce221bcf7b.zip
indents(ecma): use auto indent on (ERROR)
Fixes #2515
Diffstat (limited to 'tests/indent/ecma/issue-2515.js')
-rw-r--r--tests/indent/ecma/issue-2515.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/indent/ecma/issue-2515.js b/tests/indent/ecma/issue-2515.js
new file mode 100644
index 000000000..a1f158603
--- /dev/null
+++ b/tests/indent/ecma/issue-2515.js
@@ -0,0 +1,16 @@
+function test() {
+ return [
+ {
+ test: "test",
+ test_one: "test",
+ },
+ {
+ test: "test",
+ test_one: "test",
+ },
+ {
+ test: "test",
+ test_one: "test",
+ },
+ ];
+}