summaryrefslogtreecommitdiff
path: root/vim/pack/downloads/opt
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-07-24 09:53:06 -0500
committerMarc Coquand <marc@mccd.space>2024-07-24 09:53:06 -0500
commitf61cc0a13a8a691ea152d73d7fc27dd67e2480f1 (patch)
tree42668080125a7eba64bedbedce877553d3542527 /vim/pack/downloads/opt
parent8cb6876cb11711169d93e1f82f534c0feba56906 (diff)
downloadbsd-f61cc0a13a8a691ea152d73d7fc27dd67e2480f1.tar.gz
bsd-f61cc0a13a8a691ea152d73d7fc27dd67e2480f1.tar.bz2
bsd-f61cc0a13a8a691ea152d73d7fc27dd67e2480f1.zip
config updates
Diffstat (limited to 'vim/pack/downloads/opt')
-rw-r--r--vim/pack/downloads/opt/snippets/snippets.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/pack/downloads/opt/snippets/snippets.vim b/vim/pack/downloads/opt/snippets/snippets.vim
index 40743b2..c4362f5 100644
--- a/vim/pack/downloads/opt/snippets/snippets.vim
+++ b/vim/pack/downloads/opt/snippets/snippets.vim
@@ -7,6 +7,10 @@ autocmd FileType go
autocmd FileType go
\ :iabbrev <buffer> t@ <Backspace><Esc>^ifunc <Esc>A(t *testing.T) {<CR><CR>}<Left><Up><tab>
+
+autocmd FileType go
+ \ :iabbrev <buffer> for@ <Backspace><Esc>^ifor _, <Esc>A {<CR><CR>}<Left><Up><tab>
+
autocmd FileType go
\ :iabbrev <buffer> s@ <Backspace><Esc>^itype <Esc>A struct {<CR><CR>}<Up><tab>