fix(health): set nomodifiable in checkhealth buffers

This commit is contained in:
Maria José Solano authored and dundargoc committed 2025-01-05 09:43:59 +01:00
1 parent 64b0e6582a
commit 5e90406487
1 file changed
+3
+3
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