Merge branch 'dev' into logos

nvim: add tex snippets
This commit is contained in:
David JULIEN 2021-12-04 17:14:50 +01:00
commit d18fa739b8
No known key found for this signature in database
GPG Key ID: 4B388E8BD9D47382

View File

@ -435,6 +435,13 @@ ls.snippets = {
d(2, rec_ls, {}), d(2, rec_ls, {}),
t({ "", "\\end{itemize}", "" }), t({ "", "\\end{itemize}", "" }),
}), }),
s("lsra", {
t({ "\\begin{itemize}[label=$\\rightarrow$]", "\t\\item " }),
i(1),
t({ "" }),
d(2, rec_ls, {}),
t({ "", "\\end{itemize}", "" }),
}),
s("frm", { s("frm", {
t({ "\\begin{" }), t({ "\\begin{" }),
i(1), i(1),
@ -459,6 +466,12 @@ ls.snippets = {
f(copy,1), f(copy,1),
t({ "}", "" }), t({ "}", "" }),
}), }),
s("tikz", {
t({ "\begin{center}" }),
t({ "\t\\begin{tikzpicture}[main/.style = {draw,circle}]", "\tt" }),
i(1),
t({ "\t\\end{tikzpicture}", "\\end{center}" }),
}),
}, },
} }