diff options
| author | Robert Günzler <r@gnzler.io> | 2021-11-02 17:30:24 +0100 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2021-11-02 19:06:47 +0100 |
| commit | 15a7ac4890dea48be140350c295d4d9ea05292ee (patch) | |
| tree | e0405ddaa98fa30ec336d2504a244e52b4910524 /.vim/after/snippets/go.snippets.todo | |
| parent | 3768a6c1488c148cc07481687a47cb7cce02ad35 (diff) | |
vim: switch from ultisnips+snippets.nvim to snippy
Diffstat (limited to '.vim/after/snippets/go.snippets.todo')
| -rw-r--r-- | .vim/after/snippets/go.snippets.todo | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.vim/after/snippets/go.snippets.todo b/.vim/after/snippets/go.snippets.todo new file mode 100644 index 0000000..3152e3a --- /dev/null +++ b/.vim/after/snippets/go.snippets.todo @@ -0,0 +1,11 @@ +snippet main "func main()" +func main() { + ${0} +} +endsnippet + +snippet hfn "http.HandlerFunc" +func $1(w http.ResponseWriter, r *http.Request) { + $0 +} +endsnippet |