Skip to content

Commit a5bec38

Browse files
committed
?
1 parent f5d6e7b commit a5bec38

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

lua/luasnip-latex-snippets/luasnippets/tex/commands.lua

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -36,25 +36,4 @@ local reference_snippet_table = {
3636
r = ""
3737
}
3838

39-
return {
40-
--[
41-
-- Labels/References
42-
--]
43-
-- personally perfer \label{type:number/value}
44-
autosnippet({ trig='alab', name='label', dscr='add a label'},
45-
fmta([[
46-
\label{<>:<>}
47-
]],
48-
{ i(1), i(0) }),
49-
{ condition = tex.in_text, show_condition = tex.in_text }),
5039

51-
autosnippet({ trig='([acCer])ref', name='(acC|eq)?ref', dscr='add a reference (with autoref, cref, eqref)', regTrig = true, hidden = true},
52-
fmta([[
53-
\<>ref{<>:<>}
54-
]],
55-
{ f(function (_, snip)
56-
return reference_snippet_table[snip.captures[1]]
57-
end),
58-
i(1), i(0) })
59-
{ condition = tex.in_text, show_condition = tex.in_text }),
60-
}

0 commit comments

Comments
 (0)