yes there's a bit of java in my nvim config why do you ask?

This commit is contained in:
2024-08-09 02:45:31 -04:00
parent ad76983d96
commit c489d39369
104 changed files with 2058 additions and 2796 deletions

40
lua/snippets/openscad.lua Normal file
View File

@ -0,0 +1,40 @@
require('core.snippets.shorthands')
return {
-- translate snippet
s("t", {
t("translate([ "),
i(1, "0"),
t(", "),
i(2, "0"),
t(", "),
i(3, "0"),
t({ " ]) {", "\t" }),
i(0),
t({ "", "}" })
}),
-- rotate snippet
s("r", {
t("rotate([ "),
i(1, "0"),
t(", "),
i(2, "0"),
t(", "),
i(3, "0"),
t({ " ]) {", "\t" }),
i(0),
t({ "", "}" })
}),
-- cube snippet
s("c", {
t("cube([ "),
i(1, "0"),
t(", "),
i(2, "0"),
t(", "),
i(3, "0"),
t(" ]);")
}),
}