From 3c6845fdbc5f3448d2f99e444fed1c8758845866 Mon Sep 17 00:00:00 2001 From: Nanderty Date: Thu, 12 Oct 2023 22:25:33 +0200 Subject: Snippet improvements chemistry --- lua/Snippets/luasniphelperslatex.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lua/Snippets/luasniphelperslatex.lua') diff --git a/lua/Snippets/luasniphelperslatex.lua b/lua/Snippets/luasniphelperslatex.lua index 29599b3..f49f547 100644 --- a/lua/Snippets/luasniphelperslatex.lua +++ b/lua/Snippets/luasniphelperslatex.lua @@ -21,4 +21,8 @@ tex.in_figure = function() return tex.in_env('figure') end +tex.in_scheme = function() + return tex.in_env('scheme') +end + return tex -- cgit v1.2.3