[nvim] fix: tikz snippet for tex files

This commit is contained in:
David JULIEN 2021-12-06 00:22:28 +01:00
parent 16fccceae2
commit 28d21abbda

View File

@ -467,10 +467,10 @@ ls.snippets = {
t({ "}", "" }), t({ "}", "" }),
}), }),
s("tikz", { s("tikz", {
t({ "\begin{center}" }), t({ "\\begin{center}" }),
t({ "\t\\begin{tikzpicture}[main/.style = {draw,circle}]", "\tt" }), t({ "", "\t\\begin{tikzpicture}[main/.style = {draw,circle}]", "\t\t" }),
i(1), i(1),
t({ "\t\\end{tikzpicture}", "\\end{center}" }), t({ "", "\t\\end{tikzpicture}", "\\end{center}" }),
}), }),
}, },