kak: Formatear Go con goimports
This commit is contained in:
parent
d70132efec
commit
7ad941f63b
1 changed files with 5 additions and 0 deletions
|
@ -36,6 +36,11 @@ hook global WinSetOption filetype=zig %{
|
|||
hook buffer BufWritePre .* format-buffer
|
||||
}
|
||||
|
||||
hook global WinSetOption filetype=go %{
|
||||
set-option buffer formatcmd "goimports"
|
||||
hook buffer BufWritePre .* format-buffer
|
||||
}
|
||||
|
||||
source "%val{config}/plugins/zig.kak/rc/zig.kak"
|
||||
#hook global WinSetOption filetype=zig %{ zig-auto-run buffer }
|
||||
|
||||
|
|
Loading…
Reference in a new issue