From 80af2a08c9c3bfad90cdcfd916c76ec32119e187 Mon Sep 17 00:00:00 2001 From: Nanderty Date: Tue, 8 Oct 2024 21:43:46 +0200 Subject: improve snippets --- 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 f49f547..e5e3458 100644 --- a/lua/Snippets/luasniphelperslatex.lua +++ b/lua/Snippets/luasniphelperslatex.lua @@ -17,6 +17,10 @@ tex.in_enumerate = function() return tex.in_env('enumerate') end +tex.in_itemize = function() + return tex.in_env('itemize') +end + tex.in_figure = function() return tex.in_env('figure') end -- cgit v1.2.3