Merge branch 'dev' into logos

nvim: improve snippets
This commit is contained in:
David JULIEN 2021-11-20 17:10:49 +01:00
commit 2b4541d537
No known key found for this signature in database
GPG Key ID: 4B388E8BD9D47382

View File

@ -433,7 +433,7 @@ ls.snippets = {
i(1), i(1),
t({ "" }), t({ "" }),
d(2, rec_ls, {}), d(2, rec_ls, {}),
t({ "", "\\end{itemize}" }), t({ "", "\\end{itemize}", "" }),
}), }),
s("frm", { s("frm", {
t({ "\\begin{" }), t({ "\\begin{" }),
@ -448,14 +448,16 @@ ls.snippets = {
i(0), i(0),
t({ "", "\\end{" }), t({ "", "\\end{" }),
f(copy, 1), f(copy, 1),
t({ "}" }), t({ "}", "" }),
}), }),
s("rmk", { s("env", {
t({ "\\begin{rmk}" }), t({ "\\begin{" }),
t({ "", "\t" }), i(1, "foo"),
i(1), t({ "}", "\t" }),
i(2),
t({ "", "\\end{" }), t({ "", "\\end{" }),
i(0), f(copy,1),
t({ "}", "" }),
}), }),
}, },