diff options
author | Maria José Solano <majosolano99@gmail.com> | 2025-01-04 15:27:36 -0800 |
---|---|---|
committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2025-01-05 09:43:59 +0100 |
commit | 5e9040648739252b1b8d38c9b46b111767f34cf2 (patch) | |
tree | 90a98fe2c7d6f4dc8738aed616e1bf0646059c8b | |
parent | 64b0e6582ae8c273efbe39109bcb261079c2bcd4 (diff) | |
download | rneovim-5e9040648739252b1b8d38c9b46b111767f34cf2.tar.gz rneovim-5e9040648739252b1b8d38c9b46b111767f34cf2.tar.bz2 rneovim-5e9040648739252b1b8d38c9b46b111767f34cf2.zip |
fix(health): set nomodifiable in checkhealth buffers
-rw-r--r-- | runtime/lua/vim/health.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/lua/vim/health.lua b/runtime/lua/vim/health.lua index 52a7a13966..3e831371b8 100644 --- a/runtime/lua/vim/health.lua +++ b/runtime/lua/vim/health.lua @@ -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 |