From 15a7ac4890dea48be140350c295d4d9ea05292ee Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Tue, 2 Nov 2021 17:30:24 +0100 Subject: vim: switch from ultisnips+snippets.nvim to snippy --- .vim/after/snippets/go.snippets.todo | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .vim/after/snippets/go.snippets.todo (limited to '.vim/after/snippets/go.snippets.todo') 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 -- cgit 1.4.1