diff --git a/lua/lib/utils.lua b/lua/lib/utils.lua index ff20856..fd06705 100644 --- a/lua/lib/utils.lua +++ b/lua/lib/utils.lua @@ -79,7 +79,9 @@ function M.tbl_recursive_merge(defaults, overrides) end function M.extend_config(defaults, user_module) - if not M.is_file_exists(HYPR .. user_module) then + local file = HYPR .. "/" .. string.gsub(user_module, "%.", "/") .. ".lua" + if not M.is_file_exists(file) then + print(file .. " not found.") return deepcopy(defaults) end local ok, overrides = pcall(require, user_module)