chore: formatting

main
olimorris 2022-10-26 17:39:28 +01:00
parent 2105556a1a
commit cf3b9a45fe
1 changed files with 1 additions and 2 deletions

View File

@ -72,11 +72,10 @@ end
---@return string ---@return string
local function get_current() local function get_current()
local name = vim.fn.getcwd():gsub(utils.get_dir_pattern(), "%%") local name = vim.fn.getcwd():gsub(utils.get_dir_pattern(), "%%")
return (config.options.save_dir) .. name .. M.get_branch() .. ".vim" return config.options.save_dir .. name .. M.get_branch() .. ".vim"
end end
---Setup the plugin based on the intersect of the default and the user's config ---Setup the plugin based on the intersect of the default and the user's config
---@param opts table
---@param opts? table ---@param opts? table
---@return nil ---@return nil
function M.setup(opts) function M.setup(opts)