From ef44657937474145403c2b441b862035914d6a44 Mon Sep 17 00:00:00 2001 From: Nanderty Date: Sun, 26 Mar 2023 16:04:40 +0200 Subject: Snippets --- lua/Snippets/tex/greek.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 lua/Snippets/tex/greek.lua (limited to 'lua/Snippets/tex/greek.lua') diff --git a/lua/Snippets/tex/greek.lua b/lua/Snippets/tex/greek.lua new file mode 100644 index 0000000..f47cdac --- /dev/null +++ b/lua/Snippets/tex/greek.lua @@ -0,0 +1,17 @@ +local tex = require('Snippets.luasniphelperslatex') +local helper = require('Snippets.luasniphelpers') + +return { + s({ trig = "pi", snippetType = "autosnippet" }, + { + t("\\pi"), + }, + { condition = tex.in_mathzone } + ), + s({ trig = "0eps", snippetType = "autosnippet" }, + { + t("\\epsilon_0"), + }, + { condition = tex.in_mathzone } + ), +} -- cgit v1.2.3