From 7aa66e33bc4b80dfe3e4094cc30bd393557c0376 Mon Sep 17 00:00:00 2001 From: Nanderty Date: Wed, 12 Mar 2025 22:09:18 +0100 Subject: Snippet improvements --- lua/Snippets/tex/math.lua | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lua/Snippets/tex/math.lua') diff --git a/lua/Snippets/tex/math.lua b/lua/Snippets/tex/math.lua index d670861..56b23ee 100644 --- a/lua/Snippets/tex/math.lua +++ b/lua/Snippets/tex/math.lua @@ -81,6 +81,15 @@ return { ) ), + s({ trig = 'mcs', snippetType = 'autosnippet' }, + fmta( + '\\mathscr{<>}', + { + i(1), + } + ) + ), + s({ trig = "vec", snippetType = "autosnippet" }, fmta( '\\vec{<>}', -- cgit v1.2.3