fix(health): set nomodifiable in checkhealth buffers

This commit is contained in:
Maria José Solano 2025-01-04 15:27:36 -08:00 committed by dundargoc
parent 64b0e6582a
commit 5e90406487

View File

@ -407,6 +407,9 @@ function M._check(mods, plugin_names)
-- Clear the 'Running healthchecks...' message.
vim.cmd.redraw()
vim.print('')
-- Once we're done writing checks, set nomodifiable.
vim.bo[bufnr].modifiable = false
end
return M