Skip to content
This repository was archived by the owner on Feb 20, 2025. It is now read-only.

Commit db0f189

Browse files
committed
fix(nvim-plug): make sure buf modifiable is true
1 parent 41bd11a commit db0f189

File tree

1 file changed

+1
-0
lines changed
  • bundle/nvim-plug/lua/plug

1 file changed

+1
-0
lines changed

bundle/nvim-plug/lua/plug/ui.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ M.open = function()
9898
})
9999
end
100100
if vim.api.nvim_buf_is_valid(bufnr) then
101+
vim.api.nvim_set_option_value('modifiable', true, { buf = bufnr})
101102
vim.api.nvim_buf_set_lines(bufnr, 0, -1, false, build_context())
102103
vim.api.nvim_set_option_value('modifiable', false, { buf = bufnr})
103104
end

0 commit comments

Comments
 (0)