summaryrefslogtreecommitdiff
path: root/tests/indent/go
diff options
context:
space:
mode:
authorkiyan <yazdani.kiyan@protonmail.com>2022-07-02 12:47:05 +0200
committerStephan Seitz <stephan.seitz@fau.de>2022-07-08 00:14:29 +0200
commit6eb35103d08bbd35d9e7e3cd3987d85451c7e329 (patch)
tree99d314e800b6d662f4c7d37cb6e5b115edd3688d /tests/indent/go
parentdcc5895e7c9e98b4cc3ecb64ac58e4c1e71b0205 (diff)
fix(go): indent const declaration
https://github.com/nvim-treesitter/nvim-treesitter/issues/3104
Diffstat (limited to 'tests/indent/go')
-rw-r--r--tests/indent/go/const_declaration.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/indent/go/const_declaration.go b/tests/indent/go/const_declaration.go
new file mode 100644
index 00000000..cc3c2e6a
--- /dev/null
+++ b/tests/indent/go/const_declaration.go
@@ -0,0 +1,7 @@
+package main
+
+const (
+ ExampleOne = iota
+ ExampleTwo
+ ExampleThree
+)