From 42383b96d9a1b929080824946340d7459d49ac20 Mon Sep 17 00:00:00 2001 From: Nanderty Date: Thu, 9 Nov 2023 18:03:22 +0100 Subject: chemistry snippets --- lua/Snippets/tex/math.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lua/Snippets/tex/math.lua') diff --git a/lua/Snippets/tex/math.lua b/lua/Snippets/tex/math.lua index 53a2807..31f92d6 100644 --- a/lua/Snippets/tex/math.lua +++ b/lua/Snippets/tex/math.lua @@ -207,4 +207,14 @@ return { ), { condition = tex.in_mathzone } ), + + s({ trig = "xpn", snippetType = "autosnippet" }, + fmta( + 'e^{<>}', + { + i(1), + } + ), + { condition = tex.in_mathzone } + ), } -- cgit v1.2.3