diff --git a/go/.config/vim/snips/go.snippets b/go/.config/vim/snips/go.snippets index 0a17a6d..a50a3ce 100644 --- a/go/.config/vim/snips/go.snippets +++ b/go/.config/vim/snips/go.snippets @@ -1,3 +1,9 @@ snippet ignore "ignore function" ! func(...interface{}) {}(${1}) endsnippet +snippet ctx "context" ! +ctx context.Context +endsnippet +snippet e "error wrapper" ! +e := wrap(".") +endsnippet