Browse Source

Merge branch 'dev' into gentoo

nvim: fix tex snippets
gentoo
David JULIEN 5 months ago
parent
commit
dc18ef2ac3
Signed by: swytch
GPG Key ID: 4B388E8BD9D47382
  1. 6
      .config/nvim/lua/plugin/luasnip.lua

6
.config/nvim/lua/plugin/luasnip.lua

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

Loading…
Cancel
Save