go.vim: Add iabbrev
This commit is contained in:
parent
344bb1783f
commit
a6ce992e95
|
@ -67,6 +67,7 @@ iabbrev logpl log.Println("")<esc>hi<c-r>=Eatchar('\s')<cr>
|
|||
iabbrev ctxcc ctx context.Context
|
||||
iabbrev err! err != nil {<cr><cr>}<esc>kcc<c-r>=Eatchar('\s')<cr>
|
||||
iabbrev ior io.Reader
|
||||
iabbrev iorc io.ReadCloser
|
||||
iabbrev iow io.Writer
|
||||
iabbrev gof go func() {<cr><cr>}()<esc>kcc<c-r>=Eatchar('\s')<cr>
|
||||
iabbrev fortc for _, tc := range testCases {<cr>t.Run(tc.name, func(t *testing.T) {<cr><cr>})<cr>}<esc>kkcc<c-r>=Eatchar('\s')<cr>
|
||||
|
|
Loading…
Reference in New Issue