go.vim: Improve err! iabbrev
This commit is contained in:
parent
95da2c59d8
commit
ecbaf54610
|
@ -67,7 +67,7 @@ iabbrev logi log.Info().Msg("
|
||||||
iabbrev loge log.Error().Msg("
|
iabbrev loge log.Error().Msg("
|
||||||
iabbrev logf log.Fatal().Msg("
|
iabbrev logf log.Fatal().Msg("
|
||||||
iabbrev ctxcc ctx context.Context
|
iabbrev ctxcc ctx context.Context
|
||||||
iabbrev err! err != nil {<cr>
|
iabbrev err! err != nil {<cr><cr>}<esc>kcc<c-r>=Eatchar('\s')<cr>
|
||||||
iabbrev ior io.Reader
|
iabbrev ior io.Reader
|
||||||
iabbrev iow io.Writer
|
iabbrev iow io.Writer
|
||||||
iabbrev gof go func() {
|
iabbrev gof go func() {
|
||||||
|
|
Loading…
Reference in New Issue