summaryrefslogtreecommitdiff
path: root/vim/pack/downloads/opt/snippets
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-07-12 09:55:09 -0500
committerMarc Coquand <marc@mccd.space>2024-07-12 09:55:09 -0500
commit8a0b9593bf671c60cd242874798bd9f43be9e1a3 (patch)
treee906a9bdb09ca59cb01498f16536848580003783 /vim/pack/downloads/opt/snippets
parent1ea5c2aed8d14f1c7b57f8c017fe7500a86f6859 (diff)
downloadopenbsd-8a0b9593bf671c60cd242874798bd9f43be9e1a3.tar.gz
openbsd-8a0b9593bf671c60cd242874798bd9f43be9e1a3.tar.bz2
openbsd-8a0b9593bf671c60cd242874798bd9f43be9e1a3.zip
vim updates
Diffstat (limited to 'vim/pack/downloads/opt/snippets')
-rw-r--r--vim/pack/downloads/opt/snippets/snippets.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/vim/pack/downloads/opt/snippets/snippets.vim b/vim/pack/downloads/opt/snippets/snippets.vim
index d4c6e4e..24d2ce3 100644
--- a/vim/pack/downloads/opt/snippets/snippets.vim
+++ b/vim/pack/downloads/opt/snippets/snippets.vim
@@ -4,6 +4,9 @@ autocmd FileType go
autocmd FileType go
\ :iabbrev <buffer> hand@ <Backspace><Esc>^ifunc <Esc>A(c *gin.Context) {
+
+autocmd FileType go
+ \ :iabbrev <buffer> test@ <Backspace><Esc>^ifunc <Esc>A(t *testing.T) {
autocmd FileType go
\ :iabbrev <buffer> fat@ log.Fatal(" %v", err)<Esc>F%i<Left>