diff options
Diffstat (limited to '')
-rw-r--r-- | vim/pack/downloads/opt/snippets/snippets.vim | 4 | ||||
-rw-r--r-- | vimrc | 2 |
2 files changed, 5 insertions, 1 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> @@ -26,7 +26,7 @@ set t_Co=256 set tgc hi Normal guifg=black guibg=#FEFFFA "hi String guifg=blue -"hi Comment guifg=gray cterm=italic +hi Comment guifg=blue cterm=italic hi SpellBad term=reverse term=underline guibg=#FEFFFA hi SpellCap term=reverse term=underline guibg=#FEFFFA hi SpellRare term=reverse term=underline guibg=#FEFFFA |