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:
parent
ff54203995
commit
601a13acb1
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user