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/tex/colors.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 lua/Snippets/tex/colors.lua (limited to 'lua/Snippets/tex/colors.lua') diff --git a/lua/Snippets/tex/colors.lua b/lua/Snippets/tex/colors.lua new file mode 100644 index 0000000..ddc8e4d --- /dev/null +++ b/lua/Snippets/tex/colors.lua @@ -0,0 +1,15 @@ +local helper = require('Snippets.luasniphelpers') + +return { + + s({ trig = 'clr', snippetType = 'autosnippet' }, + fmta( + '{\\color{<>}<>}', + { + i(1), + i(2), + } + ) + ), + +} -- cgit v1.2.3