diff options
author | Marc Coquand <marc@mccd.space> | 2024-07-12 09:55:09 -0500 |
---|---|---|
committer | Marc Coquand <marc@mccd.space> | 2024-07-12 09:55:09 -0500 |
commit | 8a0b9593bf671c60cd242874798bd9f43be9e1a3 (patch) | |
tree | e906a9bdb09ca59cb01498f16536848580003783 /vim/pack/downloads/opt/snippets | |
parent | 1ea5c2aed8d14f1c7b57f8c017fe7500a86f6859 (diff) | |
download | openbsd-8a0b9593bf671c60cd242874798bd9f43be9e1a3.tar.gz openbsd-8a0b9593bf671c60cd242874798bd9f43be9e1a3.tar.bz2 openbsd-8a0b9593bf671c60cd242874798bd9f43be9e1a3.zip |
vim updates
Diffstat (limited to '')
-rw-r--r-- | vim/pack/downloads/opt/snippets/snippets.vim | 3 |
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> |