mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
fix(health): set nomodifiable in checkhealth buffers
This commit is contained in:

committed by
dundargoc

parent
64b0e6582a
commit
5e90406487
@@ -407,6 +407,9 @@ function M._check(mods, plugin_names)
|
|||||||
-- Clear the 'Running healthchecks...' message.
|
-- Clear the 'Running healthchecks...' message.
|
||||||
vim.cmd.redraw()
|
vim.cmd.redraw()
|
||||||
vim.print('')
|
vim.print('')
|
||||||
|
|
||||||
|
-- Once we're done writing checks, set nomodifiable.
|
||||||
|
vim.bo[bufnr].modifiable = false
|
||||||
end
|
end
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
Reference in New Issue
Block a user