diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2022-08-10 21:39:24 +0200 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-08-15 13:34:16 -0700 |
| commit | ac5456567aba6b90aeb92326b7510fc6a4530915 (patch) | |
| tree | 5a07b4e01ef15ba18c2dc16970e79926268b9f00 /tests/indent | |
| parent | Update lockfile.json (diff) | |
| download | nvim-treesitter-ac5456567aba6b90aeb92326b7510fc6a4530915.tar nvim-treesitter-ac5456567aba6b90aeb92326b7510fc6a4530915.tar.gz nvim-treesitter-ac5456567aba6b90aeb92326b7510fc6a4530915.tar.bz2 nvim-treesitter-ac5456567aba6b90aeb92326b7510fc6a4530915.tar.lz nvim-treesitter-ac5456567aba6b90aeb92326b7510fc6a4530915.tar.xz nvim-treesitter-ac5456567aba6b90aeb92326b7510fc6a4530915.tar.zst nvim-treesitter-ac5456567aba6b90aeb92326b7510fc6a4530915.zip | |
indens(go): fix issue 3288
Fixes #3288
Diffstat (limited to 'tests/indent')
| -rw-r--r-- | tests/indent/go/issue-3288.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/indent/go/issue-3288.go b/tests/indent/go/issue-3288.go new file mode 100644 index 000000000..a59208184 --- /dev/null +++ b/tests/indent/go/issue-3288.go @@ -0,0 +1,14 @@ +package main + +func correct(word string) { + switch word { + + } // <--- + select { + + } // <--- + + arr := []struct { + + } // <--- +} |
