diff options
| author | Munif Tanjim <hello@muniftanjim.dev> | 2022-02-26 20:29:26 +0600 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-02-26 15:44:37 +0100 |
| commit | 3ef2c77e13c8e3a932416781e3ffb99844425f66 (patch) | |
| tree | a01a5e1724831b7a23dd7d32397753b72ff8b042 /tests/indent/ecma | |
| parent | fix(indent): ecma - class method indentation (diff) | |
| download | nvim-treesitter-3ef2c77e13c8e3a932416781e3ffb99844425f66.tar nvim-treesitter-3ef2c77e13c8e3a932416781e3ffb99844425f66.tar.gz nvim-treesitter-3ef2c77e13c8e3a932416781e3ffb99844425f66.tar.bz2 nvim-treesitter-3ef2c77e13c8e3a932416781e3ffb99844425f66.tar.lz nvim-treesitter-3ef2c77e13c8e3a932416781e3ffb99844425f66.tar.xz nvim-treesitter-3ef2c77e13c8e3a932416781e3ffb99844425f66.tar.zst nvim-treesitter-3ef2c77e13c8e3a932416781e3ffb99844425f66.zip | |
fix(indent): ecma - parenthesized expression indentation
Diffstat (limited to 'tests/indent/ecma')
| -rw-r--r-- | tests/indent/ecma/func.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/indent/ecma/func.js b/tests/indent/ecma/func.js index 5bbfa1e31..a615214e9 100644 --- a/tests/indent/ecma/func.js +++ b/tests/indent/ecma/func.js @@ -35,3 +35,17 @@ func_call( .map() .filter() ) + +function prepare_list_fetcher(filter) { + return Object.assign( + async () => + ( + await http.get('/list', { + params: { + filter: filter, + }, + }) + ).data, + { key: ['/list', filter] } + ) +} |
