summaryrefslogtreecommitdiffstats
path: root/lua/Snippets/tex/general.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/Snippets/tex/general.lua')
-rw-r--r--lua/Snippets/tex/general.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/lua/Snippets/tex/general.lua b/lua/Snippets/tex/general.lua
index 3debd62..f50e4c2 100644
--- a/lua/Snippets/tex/general.lua
+++ b/lua/Snippets/tex/general.lua
@@ -28,6 +28,13 @@ return {
{ condition = helper.line_begin }
),
+ s({ trig = 'clp', snippetType = 'autosnippet' },
+ {
+ t('\\clearpage'),
+ },
+ { condition = helper.line_begin }
+ ),
+
s({ trig = 'qnt', snippetType = 'autosnippet' },
fmta(
'\\qty{<>}{<>}',
@@ -49,6 +56,15 @@ return {
)
),
+ s({ trig = 'snr', snippetType = 'autosnippet' },
+ fmta(
+ '\\num{<>}',
+ {
+ i(1),
+ }
+ )
+ ),
+
s({ trig = 'snt', snippetType = 'autosnippet' },
fmta(
'\\unit{<>}',