feat: update

This commit is contained in:
Barrett Ruth 2025-11-05 12:47:38 -05:00
parent 96c01bf796
commit 13d931ed19
3 changed files with 167 additions and 112 deletions

View file

@ -116,7 +116,7 @@ end
---@param filetype? string
function M.create_buffer_with_options(filetype)
local buf = vim.api.nvim_create_buf(false, true)
vim.api.nvim_set_option_value('bufhidden', 'wipe', { buf = buf })
vim.api.nvim_set_option_value('bufhidden', 'hide', { buf = buf })
vim.api.nvim_set_option_value('readonly', true, { buf = buf })
vim.api.nvim_set_option_value('modifiable', false, { buf = buf })
if filetype then