fix: cleanup logs

This commit is contained in:
Barrett Ruth 2025-10-23 18:29:20 -04:00
parent c312ccbb4d
commit dc6f2fd5b6
3 changed files with 30 additions and 66 deletions

View file

@ -125,6 +125,10 @@ function M.create_buffer_with_options(filetype)
return buf
end
---@param bufnr integer
---@param lines string[]
---@param highlights? Highlight[]
---@param namespace? integer
function M.update_buffer_content(bufnr, lines, highlights, namespace)
local was_readonly = vim.api.nvim_get_option_value('readonly', { buf = bufnr })