mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
fix(health): set nomodifiable in checkhealth buffers
This commit is contained in:
parent
64b0e6582a
commit
5e90406487
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user