From c376c21b31aaee39acadc5e4148ae4d366d45f00 Mon Sep 17 00:00:00 2001 From: ottjk Date: Sat, 27 Jan 2024 15:34:03 -0500 Subject: sweep kanata config and nvim updates --- nvim/snips/tex/chunks.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'nvim/snips') 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 }) } -- cgit v1.3