1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

update snippets

This commit is contained in:
jdhao 2021-10-30 23:10:40 +08:00
parent ff54203995
commit 601a13acb1
2 changed files with 4 additions and 4 deletions

View File

@ -1,14 +1,14 @@
snippet fun "vim function" snippet fun "vim function"
function! ${1:MyFunc}(${2}) abort function! ${1:MyFunc}(${2}) abort
$3 $3
endfunction endfunction
$0 $0
endsnippet endsnippet
snippet aug "vim augroup" b snippet aug "vim augroup" b
augroup ${1:GROUP_NAME} augroup ${1:GROUP_NAME}
autocmd! autocmd!
autocmd ${2:EVENT} ${3:PATTERN} $4 autocmd ${2:EVENT} ${3:PATTERN} $4
augroup END augroup END
$0 $0
endsnippet endsnippet