From f61cc0a13a8a691ea152d73d7fc27dd67e2480f1 Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Wed, 24 Jul 2024 09:53:06 -0500 Subject: config updates --- vim/pack/downloads/opt/snippets/snippets.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vim/pack/downloads/opt') 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 t@ ^ifunc A(t *testing.T) {} + +autocmd FileType go + \ :iabbrev for@ ^ifor _, A {} + autocmd FileType go \ :iabbrev s@ ^itype A struct {} -- cgit v1.2.3