Update files
This commit is contained in:
@@ -27,6 +27,10 @@ helpers.open_term = function(opts, buf_opts)
|
||||
}
|
||||
|
||||
local buf = vim.api.nvim_create_buf(false, true)
|
||||
if buf_options.name then
|
||||
vim.api.nvim_buf_set_name(buf, buf_options.name)
|
||||
buf_options.name = nil
|
||||
end
|
||||
for k, v in pairs(buf_options) do
|
||||
vim.api.nvim_set_option_value(k, v, { buf = buf })
|
||||
end
|
||||
@@ -161,3 +165,4 @@ end
|
||||
|
||||
return helpers
|
||||
-- nnoremap <Leader>ev :tabedit $MYVIMRC<CR>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user