diff options
Diffstat (limited to 'nvim/snips')
| -rw-r--r-- | nvim/snips/tex/chunks.lua | 2 | ||||
| -rw-r--r-- | nvim/snips/tex/symbols.lua | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/nvim/snips/tex/chunks.lua b/nvim/snips/tex/chunks.lua index 5fb1aaf..617f648 100644 --- a/nvim/snips/tex/chunks.lua +++ b/nvim/snips/tex/chunks.lua @@ -82,7 +82,7 @@ local enumType = function (_, snip) if type == "n" then return "\\arabic*." elseif type == "a" then - return "\\alph*)" + return "(\\alph*)" elseif type == "i" then return "(\\roman*)" end diff --git a/nvim/snips/tex/symbols.lua b/nvim/snips/tex/symbols.lua index 9d1459b..7fff090 100644 --- a/nvim/snips/tex/symbols.lua +++ b/nvim/snips/tex/symbols.lua @@ -161,6 +161,10 @@ return { { n.t("\\cup") }, { condition = h.in_mathzone } ), + n.s({trig="uU", snippetType="autosnippet"}, + { n.t("\\sqcup") }, + { condition = h.in_mathzone } + ), n.s({trig="bar", snippetType="autosnippet", priority=100}, n.fmta("\\bar{<>}", { n.i(1) }), |