1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-25 10:32:19 +03:00

Merge remote-tracking branch 'lenormf/rc/golang.kak'

This commit is contained in:
Maxime Coste 2015-09-07 13:33:19 +01:00
commit 3ed0675be2

View File

@ -87,10 +87,15 @@ hook global WinSetOption filetype=golang %{
hook window InsertChar \n -group golang-indent _golang-indent-on-new-line
hook window InsertChar \{ -group golang-indent _golang-indent-on-opening-curly-brace
hook window InsertChar \} -group golang-indent _golang-indent-on-closing-curly-brace
alias global format-code golang-format-gofmt
}
hook global WinSetOption filetype=(?!golang).* %{
rmhl golang
rmhooks window golang-hooks
rmhooks window golang-indent
unalias global format-code
}