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,3 +1,3 @@
snippet frac "Math fractions"
\frac{${1:NUM}}{${2:DEN}} $0
endsnippet
endsnippet

View File

@ -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