fix(man.lua): set modifiable before writing page

(cherry picked from commit 4282c8b41d)
This commit is contained in:
kevinhwang91
2022-11-03 08:45:36 +08:00
committed by github-actions[bot]
parent bd4269c6a6
commit eefa7fbbc2

View File

@@ -447,7 +447,7 @@ local function get_page(path, silent)
end end
local function put_page(page) local function put_page(page)
vim.bo.modified = true vim.bo.modifiable = true
vim.bo.readonly = false vim.bo.readonly = false
vim.bo.swapfile = false vim.bo.swapfile = false