This commit is contained in:
hrsh7th
2021-10-10 12:50:35 +09:00
parent 370e6ff076
commit b16663f780
2 changed files with 15 additions and 11 deletions

View File

@@ -43,6 +43,7 @@ window.ensure = function(self)
self[name] = vim.api.nvim_create_buf(false, true)
vim.api.nvim_buf_set_option(self[name], 'undolevels', -1)
vim.api.nvim_buf_set_option(self[name], 'buftype', 'nofile')
vim.api.nvim_buf_set_option(self[name], 'bufhidden', 'hide')
end
end
end