Chore: moved similar functions to a utils for actions so they dont

repeat and copy costantly. Going to have to think of a better way that
consolidates it all as a lot of it overlaps
This commit is contained in:
2026-10-22 14:36:19 -04:00
parent 685a711644
commit b6d46a0cef
5 changed files with 57 additions and 82 deletions
+6 -1
View File
@@ -6,7 +6,12 @@ local actions = require("vern.actions")
---@type VernCoreConfig
M.opts = vim.deepcopy(configs)
---@param user_opts? VernCoreConfig | table
---@class VernUserConfig
---@field workspace_root? string
---@field keybinds? table<string, VernKeybindItem>
---@field terminal? VernTerminalConfig | table
---@param user_opts? VernUserConfig
function M.setup(user_opts)
---@type VernCoreConfig
M.opts = vim.tbl_deep_extend("force", {}, configs, user_opts or {})