summaryrefslogtreecommitdiff
path: root/vim-extra/.config/nvim/UltiSnips/go.snippets
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2022-11-13 22:38:56 +0100
committerJulian T <julian@jtle.dk>2022-11-13 22:38:56 +0100
commit9537e3d2958e1724253c11950ce83b9df054e686 (patch)
tree6447f101cca22184484c394db40f972ea1ac8a89 /vim-extra/.config/nvim/UltiSnips/go.snippets
parent5154118c08f82f4cfb947d8f1a59894d8ac151db (diff)
Fix bug in apply and vim config
Diffstat (limited to 'vim-extra/.config/nvim/UltiSnips/go.snippets')
-rw-r--r--vim-extra/.config/nvim/UltiSnips/go.snippets14
1 files changed, 0 insertions, 14 deletions
diff --git a/vim-extra/.config/nvim/UltiSnips/go.snippets b/vim-extra/.config/nvim/UltiSnips/go.snippets
deleted file mode 100644
index 96a9fec..0000000
--- a/vim-extra/.config/nvim/UltiSnips/go.snippets
+++ /dev/null
@@ -1,14 +0,0 @@
-snippet ec "if err no nil"
-if err != nil {
- return $1err
-}
-$0
-endsnippet
-
-snippet eh "if err no nil write http"
-if err != nil {
- ${1:http}.Error(w, err.Error(), http.Status${2:InternalServerError})
- return
-}
-$0
-endsnippet