diff options
| author | ottjk <joshott16@gmail.com> | 2024-01-27 15:34:03 -0500 |
|---|---|---|
| committer | ottjk <joshott16@gmail.com> | 2024-01-27 15:34:03 -0500 |
| commit | c376c21b31aaee39acadc5e4148ae4d366d45f00 (patch) | |
| tree | b73416d2019c7229ce12929bd246fabdca557e84 /nvim/snips/tex | |
| parent | 91f948a29685d1b893a6047c4115564aeb043cdb (diff) | |
| download | dotfiles-c376c21b31aaee39acadc5e4148ae4d366d45f00.tar.gz dotfiles-c376c21b31aaee39acadc5e4148ae4d366d45f00.zip | |
sweep kanata config and nvim updates
Diffstat (limited to 'nvim/snips/tex')
| -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 }) } |