aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2022-08-10 21:39:24 +0200
committerStephan Seitz <stephan.seitz@fau.de>2022-08-15 13:34:16 -0700
commitac5456567aba6b90aeb92326b7510fc6a4530915 (patch)
tree5a07b4e01ef15ba18c2dc16970e79926268b9f00 /tests/indent
parentUpdate lockfile.json (diff)
downloadnvim-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.go14
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 {
+
+ } // <---
+}