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/general.lua | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lua/Snippets/tex/general.lua') diff --git a/lua/Snippets/tex/general.lua b/lua/Snippets/tex/general.lua index 0aaca6d..0b13342 100644 --- a/lua/Snippets/tex/general.lua +++ b/lua/Snippets/tex/general.lua @@ -63,6 +63,15 @@ return { ) ), + s({ trig = 'pht', snippetType = 'autosnippet' }, + fmta( + '\\phantom{<>}', + { + i(1), + } + ) + ), + s({ trig = 'nmb', snippetType = 'autosnippet' }, fmta( '\\num{<>}', -- cgit v1.2.3