diff options
| author | ottjk <joshott16@gmail.com> | 2024-08-23 16:46:45 -0400 |
|---|---|---|
| committer | ottjk <joshott16@gmail.com> | 2024-08-23 16:46:45 -0400 |
| commit | 6c9b28b9594b7322a5c53d72fe9a21c7ad7b7d39 (patch) | |
| tree | a0148c396dcb8dbb128a4c924f3ab0eec09b26ac /nvim/snips/tex/expressions.lua | |
| parent | cf906f832b5cea3ccb09d3536fdc68daa0d37f64 (diff) | |
| download | dotfiles-6c9b28b9594b7322a5c53d72fe9a21c7ad7b7d39.tar.gz dotfiles-6c9b28b9594b7322a5c53d72fe9a21c7ad7b7d39.zip | |
bunch of changes
specific commit
Diffstat (limited to 'nvim/snips/tex/expressions.lua')
| -rw-r--r-- | nvim/snips/tex/expressions.lua | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/nvim/snips/tex/expressions.lua b/nvim/snips/tex/expressions.lua index 8c020db..875fbf4 100644 --- a/nvim/snips/tex/expressions.lua +++ b/nvim/snips/tex/expressions.lua @@ -58,6 +58,14 @@ return { { n.t("\\sum") }, { condition = h.in_mathzone } ), + n.s({trig="'bu", snippetType="autosnippet", priority=100}, + { n.t("\\bigcup") }, + { condition = h.in_mathzone } + ), + n.s({trig="'ba", snippetType="autosnippet", priority=100}, + { n.t("\\bigcap") }, + { condition = h.in_mathzone } + ), n.s({trig="od", snippetType="autosnippet", priority=100}, n.fmta("\\od{<>}{<>}", { n.i(1), n.i(2) }), @@ -101,7 +109,7 @@ return { { condition = h.in_mathzone } ), n.s({trig="pf", wordTrig=false, snippetType="autosnippet"}, - { n.t("\\pdiff") }, + { n.t("\\pdiff ") }, { condition = h.in_mathzone } ), n.s({trig = "tii", snippetType="autosnippet"}, @@ -119,6 +127,11 @@ return { { n.d(1, h.get_visual) }), { condition = h.in_text } ), + n.s({trig = "txt", snippetType="autosnippet"}, + n.fmta("\\texttt{<>}", + { n.d(1, h.get_visual) }), + { condition = h.in_text } + ), n.s({trig = "=", snippetType="autosnippet"}, { n.t("\\item ") }, { condition = h.in_itemize * h.line_begin } |