1
Using the golang mode shipped with Emacs
(magnus.therning.org)
A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!
You setup looks not so optimal. Here is mine
It's wired after I config go-ts-indent-offset to 4, the indent after } and ) still indent 8 spaces(I think it's from electric-indent-mode), and content after treesit-check-indent also use 8 spaces, but bind RET to newline-and-indent is a workaround for me now, thanks.
Sorry, but after type ( it still indent current line to 8 space(not RET), I'm going to report a bug to emacs devel.
It works fine with
(electric-indent-mode -1)
and