diff --git a/lua/aoc/config.lua b/lua/aoc/config.lua index c613fe9..6f48d7e 100644 --- a/lua/aoc/config.lua +++ b/lua/aoc/config.lua @@ -16,6 +16,11 @@ local default_opts = { M.init = function(args) M.options = vim.tbl_deep_extend("force", default_opts, args or {}) + + M.options.session_filepath = vim.fn.expand(M.options.session_filepath) + if M.options.puzzle_input.alternative_filepath then + M.options.alternative_filepath = vim.fn.expand(M.options.alternative_filepath) + end end M.debug = function()