On Saturday, January 4th, 2025 at 10:40, Roi Martin wrote: > > When using the Go tree-sitter grammar v0.23.4 from > https://github.com/tree-sitter/tree-sitter-go.git, indentation inside > var lists does not work correctly. > > For instance, the following code is indented as: > > `var ( one = 1 )` > > Instead of: > > `var ( one = 1 )` > > Just in case it can help, I think this stopped working with grammar > version `v0.21.1`, that introduced `var_spec_list`: > > https://github.com/tree-sitter/tree-sitter-go/compare/v0.21.0...v0.21.1 > > Please, take it with a pinch of salt because I'm not very familiar with > tree-sitter. > > [...] > Thanks for the report. The attached patch fixes it for me.