• 404cn@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    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.

    • 404cn@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Sorry, but after type ( it still indent current line to 8 space(not RET), I’m going to report a bug to emacs devel.