diff options
| author | Kiyan <yazdani.kiyan@protonmail.com> | 2022-07-07 14:35:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-07 14:35:12 +0200 |
| commit | 6f3fbb26222a9d4be17d62e66f7c42683efb88c6 (patch) | |
| tree | 2f804bdf825ffa4176383403a6ff961e90f00f9f /tests/indent/javascript_spec.lua | |
| parent | Update lockfile.json (diff) | |
| download | nvim-treesitter-6f3fbb26222a9d4be17d62e66f7c42683efb88c6.tar nvim-treesitter-6f3fbb26222a9d4be17d62e66f7c42683efb88c6.tar.gz nvim-treesitter-6f3fbb26222a9d4be17d62e66f7c42683efb88c6.tar.bz2 nvim-treesitter-6f3fbb26222a9d4be17d62e66f7c42683efb88c6.tar.lz nvim-treesitter-6f3fbb26222a9d4be17d62e66f7c42683efb88c6.tar.xz nvim-treesitter-6f3fbb26222a9d4be17d62e66f7c42683efb88c6.tar.zst nvim-treesitter-6f3fbb26222a9d4be17d62e66f7c42683efb88c6.zip | |
fix(ecma): indent end for bracket (#3121)
Diffstat (limited to 'tests/indent/javascript_spec.lua')
| -rw-r--r-- | tests/indent/javascript_spec.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/indent/javascript_spec.lua b/tests/indent/javascript_spec.lua index 855a394f2..50bedc4a3 100644 --- a/tests/indent/javascript_spec.lua +++ b/tests/indent/javascript_spec.lua @@ -25,6 +25,8 @@ describe("indent JavaScript:", function() run:new_line("ecma/binary_expression.js", { on_line = info[1], text = "//", indent = info[2] }, info[3], info[4]) end + run:new_line("ecma/new-line-after-class.js", { on_line = 2, text = "", indent = 0 }) + for _, info in ipairs { { 4, 2 }, { 6, 0 }, |
