REFACTOR: I spent all day on it but I am heavily refactoring the API and

organization because it was terrible before and hard to maintain. Now it
should be much easier and there is still of a design decisions to figure
out
This commit is contained in:
2026-10-15 02:07:14 -04:00
parent 2b30e36fad
commit 4bcac5d09b
27 changed files with 875 additions and 480 deletions
+15
View File
@@ -0,0 +1,15 @@
return {
workspace_root = "~/personal/Projects",
terminal = {
mode = "split",
win = {
type = "horizontal",
anchor = "bottom",
size = "20",
},
border = {
enabled = true,
type = "rounded",
},
},
}
+43
View File
@@ -0,0 +1,43 @@
local actions = require("vern.actions.python")
return {
root = "Python", --- later will concat the project_root to the front
keybinds = {
["<leader>pr"] = {
desc = "Executes python code",
action = actions.run,
},
["<leader>pb"] = {
desc = "Asks for what python package to install",
action = actions.pip_install,
},
},
templates = {
project = {
["executable"] = {
template = "vern.templates.python.main",
target = "src/%s/main.py",
},
["init"] = {
template = "vern.templates.python.__init__",
target = "src/%s/__init__.py",
},
["manifest"] = {
template = "vern.templates.python.pyproject",
target = "pyproject.toml",
},
},
file = {
["module"] = {
template = "vern.templates.python.module",
target = "src/%s.py",
},
},
extras = {
["gitignore"] = {
template = "vern.templates.extras.gitignore",
target = ".gitignore",
},
},
},
}