aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/go
Commit message (Collapse)AuthorAgeFilesLines
* fix(go): Indent on type switch case properlyEvan Phoenix2023-03-031-0/+6
|
* fix(go): apply indents in a communication case in a select statementAmaan Qureshi2023-02-241-0/+16
|
* indents(go): no indent at all composite_literal, indent at struct_typeStephan Seitz2022-08-151-2/+10
|
* indens(go): fix issue 3288Stephan Seitz2022-08-151-0/+14
| | | | Fixes #3288
* indents(go): improve `@branch` rulesStephan Seitz2022-08-052-0/+33
| | | | | | | | - Don't branch at `case` - Let `import_spec_list`/`var_declaration` behave like `const_declaration` Fixes #2166
* fix(go): indent const declarationkiyan2022-07-081-0/+7
| | | | https://github.com/nvim-treesitter/nvim-treesitter/issues/3104
* test(go): add cases for newlines de-indentationAkin Sowemimo2022-04-181-0/+8
| | | | | | | | | | | | | test(go): combine new indent test cases test(go): add incorrect indent after var closing ) this case does not work correctly already so add that in since this PR does not address that case test(go): set current lines in indent test test(go): simplify test case
* indents(go): perform some changes as go fmt dictatesStephan Seitz2022-02-051-0/+5
|
* indents(go): add testsStephan Seitz2022-02-051-0/+14