-
-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Labels
enhancementImprovement neeededImprovement neeeded
Description
Hi 👋
There seems to be a regression I'm not sure is intentional or not when parsing a vararg parameter.
Example:
---DeleteSessionByName deletes sessions given a provided list of paths
---@param ... string[]
function AutoSession.DeleteSessionByName(...)
local session_paths = {}
for _, name in ipairs { ... } do
local escaped_session = Lib.escape_dir(name)
maybe_disable_autosave(escaped_session)
local session_path = string.format("%s/%s.vim", AutoSession.get_root_dir(), escaped_session)
Lib.logger.debug("Deleting session", session_path)
table.insert(session_paths, session_path)
end
AutoSession.DeleteSession(unpack(session_paths))
endMetadata
Metadata
Assignees
Labels
enhancementImprovement neeededImprovement neeeded
