Skip to content

Commit 85004a6

Browse files
committed
add snippet descriptions
1 parent 9376b6e commit 85004a6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

UltiSnips/tex.snippets

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ snippet "b(egin)?" "begin{} / end{}" br
88
\end{$1}
99
endsnippet
1010

11-
snippet tab
11+
snippet tab "tabular / array environment"
1212
\begin{${1:t}${1/(t)$|(a)$|(.*)/(?1:abular)(?2:rray)/}}{${2:c}}
1313
$0${2/((?<=.)c|l|r)|./(?1: & )/g}
1414
\end{$1${1/(t)$|(a)$|(.*)/(?1:abular)(?2:rray)/}}

UltiSnips/vim.snippets

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ if !exists("g:${1:MyUltraImportantVar}")
99
endif
1010
endsnippet
1111

12-
snippet guard
12+
snippet guard "script reload guard"
1313
if exists('${1:did_`!p snip.rv = snip.fn.replace('.','_')`}') || &cp${2: || version < 700}
1414
finish
1515
endif
1616
let $1 = 1${3}
1717
endsnippet
1818

19-
snippet f
19+
snippet f function
2020
fun ${1:function_name}(${2})
2121
${3:" code}
2222
endf

0 commit comments

Comments
 (0)