-- Minimal Neovim config for testing vim.opt.runtimepath:prepend('.') -- Mock vim functions that tests need vim.loop = vim.loop or {} vim.loop.fs_stat = vim.loop.fs_stat or function(path) return {type = "file", size = 100} end vim.loop.timer_start = vim.loop.timer_start or function(delay, callback) return 1 end vim.loop.timer_stop = vim.loop.timer_stop or function(timer_id) -- Mock timer stop end vim.uv = vim.uv or {} vim.uv.new_timer = vim.uv.new_timer or function() return { start = function() end, stop = function() end, close = function() end } end vim.uv.hrtime = vim.uv.hrtime or function() return os.clock() * 1e9 end vim.schedule = vim.schedule or function(fn) fn() end vim.defer_fn = vim.defer_fn or function(fn, delay) fn() end print("Minimal Neovim config loaded")