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

This commit is contained in:
Kevin Hwang 2022-11-03 09:13:29 +08:00 committed by GitHub
parent 65f603f72c
commit cc5b7368d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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