Merge branch 'dev' into gentoo
nvim: add tex snippets
This commit is contained in:
commit
bd972a5c71
@ -435,6 +435,13 @@ ls.snippets = {
|
||||
d(2, rec_ls, {}),
|
||||
t({ "", "\\end{itemize}", "" }),
|
||||
}),
|
||||
s("lsra", {
|
||||
t({ "\\begin{itemize}[label=$\\rightarrow$]", "\t\\item " }),
|
||||
i(1),
|
||||
t({ "" }),
|
||||
d(2, rec_ls, {}),
|
||||
t({ "", "\\end{itemize}", "" }),
|
||||
}),
|
||||
s("frm", {
|
||||
t({ "\\begin{" }),
|
||||
i(1),
|
||||
@ -459,6 +466,12 @@ ls.snippets = {
|
||||
f(copy,1),
|
||||
t({ "}", "" }),
|
||||
}),
|
||||
s("tikz", {
|
||||
t({ "\begin{center}" }),
|
||||
t({ "\t\\begin{tikzpicture}[main/.style = {draw,circle}]", "\tt" }),
|
||||
i(1),
|
||||
t({ "\t\\end{tikzpicture}", "\\end{center}" }),
|
||||
}),
|
||||
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user