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:
+6
-1
@@ -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 {})
|
||||
|
||||
Reference in New Issue
Block a user