summaryrefslogtreecommitdiffstats
path: root/lua/Snippets/tex/math.lua
diff options
context:
space:
mode:
authorNanderty <psopka@sopka.ch>2023-11-09 18:03:22 +0100
committerNanderty <psopka@sopka.ch>2023-11-09 18:03:22 +0100
commit42383b96d9a1b929080824946340d7459d49ac20 (patch)
tree1010b642c7d1f72416e0b33fe406d11f1ea04ad4 /lua/Snippets/tex/math.lua
parentb4399bedea5e8b3fb6612b4c5483248f09089efc (diff)
downloadneovim-config-42383b96d9a1b929080824946340d7459d49ac20.tar.gz
neovim-config-42383b96d9a1b929080824946340d7459d49ac20.tar.bz2
neovim-config-42383b96d9a1b929080824946340d7459d49ac20.zip
chemistry snippets
Diffstat (limited to 'lua/Snippets/tex/math.lua')
-rw-r--r--lua/Snippets/tex/math.lua10
1 files changed, 10 insertions, 0 deletions
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 }
+ ),
}