diff options
Diffstat (limited to 'nvim/snips')
| -rw-r--r-- | nvim/snips/tex/chunks.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/nvim/snips/tex/chunks.lua b/nvim/snips/tex/chunks.lua index a48242e..7e6b8d1 100644 --- a/nvim/snips/tex/chunks.lua +++ b/nvim/snips/tex/chunks.lua @@ -207,4 +207,14 @@ return { ]], { n.i(0) }), { condition = h.in_text * h.line_begin }) + -- split display equation + n.s({trig="sld", snippetType="autosnippet"}, + n.fmta( + [[ + \[ \begin{split} + <> + \end{split} \] + ]], + { n.i(0) }), + { condition = h.in_text * h.line_begin }) } |