summaryrefslogtreecommitdiffstats
path: root/lua/Snippets/tex/environments.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/Snippets/tex/environments.lua')
-rw-r--r--lua/Snippets/tex/environments.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/lua/Snippets/tex/environments.lua b/lua/Snippets/tex/environments.lua
index 46e5ee5..1fa0301 100644
--- a/lua/Snippets/tex/environments.lua
+++ b/lua/Snippets/tex/environments.lua
@@ -32,4 +32,21 @@ return {
),
{ condition = helper.line_begin }
),
+
+ s({ trig = 'mnp', snippetType = 'autosnippet' },
+ fmta(
+ [[
+\begin{minipage}[<>]{<>\textwidth}
+ <>
+\end{minipage}
+]],
+ {
+ i(1),
+ i(2),
+ i(3),
+ }
+ ),
+ { condition = helper.line_begin }
+ ),
+
}