kakoune/test/indent/go/insert-comment/rc
Tony Gong 039a10a34c Do not indent Golang comments as code
When indenting on newline in Go files, only remove trailing whitespace
on the previous line and copy indentation of the previous line if in
comment context.

Added regression tests.
2022-06-05 06:05:45 -07:00

5 lines
168 B
Plaintext

source "%val{runtime}/colors/default.kak"
source "%val{runtime}/rc/filetype/go.kak"
set buffer filetype go
set-option global disabled_hooks go-insert-closing-delimiter