diff --git a/vim/after/ftplugin/go.vim b/vim/after/ftplugin/go.vim index 3229568..5ffeb7c 100644 --- a/vim/after/ftplugin/go.vim +++ b/vim/after/ftplugin/go.vim @@ -42,3 +42,6 @@ iabbrev mk make([]MyType, 0)9h iabbrev wr w http.ResponseWriter, r *http.Request iabbrev fttt ccfunc TestSomething(t *testing.T) {}k9l iabbrev ttt t *testing.T +iabbrev errp ccif err != nil {panic(err)} +iabbrev errf ccif err != nil {log.Fatal(err)} +iabbrev errl ccif err != nil {fmt.Println(err)}