REFACTOR: Annotations for autocompletion, reworked how projects are made

and handled, wrote the c file replacing the copied python code.
This commit is contained in:
2026-10-22 04:29:52 -04:00
parent 3bb97d833b
commit 685a711644
13 changed files with 373 additions and 178 deletions
+3 -2
View File
@@ -69,6 +69,7 @@ function M.init_readme(path)
end
---@param cmd table
---@param opts VernTerminalConfig
---@return integer, integer?
function M.term(cmd, opts)
opts = opts or {}
@@ -110,13 +111,13 @@ function M.term(cmd, opts)
})
end
if opts.mode.type == "split" then
if opts.mode.win.split.type == "vertical" then
if opts.mode.win.split.direction == "vertical" then
if opts.mode.win.split.anchor == "right" then
vim.cmd("set splitright")
end
vim.cmd(opts.mode.win.split.size .. " vsplit")
end
if opts.mode.win.split.type == "horizontal" then
if opts.mode.win.split.direction == "horizontal" then
if opts.mode.win.split.anchor == "bottom" then
vim.cmd("set splitbelow")
end