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,3 +1,3 @@
|
||||
snippet frac "Math fractions"
|
||||
\frac{${1:NUM}}{${2:DEN}} $0
|
||||
endsnippet
|
||||
endsnippet
|
||||
|
||||
@ -1,14 +1,14 @@
|
||||
snippet fun "vim function"
|
||||
function! ${1:MyFunc}(${2}) abort
|
||||
$3
|
||||
$3
|
||||
endfunction
|
||||
$0
|
||||
endsnippet
|
||||
|
||||
snippet aug "vim augroup" b
|
||||
augroup ${1:GROUP_NAME}
|
||||
autocmd!
|
||||
autocmd ${2:EVENT} ${3:PATTERN} $4
|
||||
autocmd!
|
||||
autocmd ${2:EVENT} ${3:PATTERN} $4
|
||||
augroup END
|
||||
$0
|
||||
endsnippet
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user