add snippet descriptions

This commit is contained in:
Lucas Hoffmann 2014-05-06 08:41:56 +02:00
parent 9376b6ea35
commit 85004a6c60
2 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ snippet "b(egin)?" "begin{} / end{}" br
\end{$1}
endsnippet
snippet tab
snippet tab "tabular / array environment"
\begin{${1:t}${1/(t)$|(a)$|(.*)/(?1:abular)(?2:rray)/}}{${2:c}}
$0${2/((?<=.)c|l|r)|./(?1: & )/g}
\end{$1${1/(t)$|(a)$|(.*)/(?1:abular)(?2:rray)/}}

View File

@ -9,14 +9,14 @@ if !exists("g:${1:MyUltraImportantVar}")
endif
endsnippet
snippet guard
snippet guard "script reload guard"
if exists('${1:did_`!p snip.rv = snip.fn.replace('.','_')`}') || &cp${2: || version < 700}
finish
endif
let $1 = 1${3}
endsnippet
snippet f
snippet f function
fun ${1:function_name}(${2})
${3:" code}
endf