fix(ci): stub vim.api calls

This commit is contained in:
Barrett Ruth 2025-09-19 14:11:16 -04:00
parent 34d943bd1e
commit 9b6df85e9e
3 changed files with 44 additions and 20 deletions

View file

@ -58,6 +58,10 @@ end
---@param diff_output string
---@return ParsedDiff
function M.parse_git_diff(diff_output)
if diff_output == '' then
return { content = {}, highlights = {} }
end
local lines = vim.split(diff_output, '\n', { plain = true })
local content_lines = {}
local all_highlights = {}