mirror of
https://github.com/neovim/neovim.git
synced 2026-06-15 08:13:45 +00:00
backport: fix(net): set buftype=nofile (again) (#39932)
redux24e00f2844(cherry picked from commit1be55d02f5) Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
This commit is contained in:
committed by
GitHub
parent
dc6a9170eb
commit
304f8ed67a
@@ -85,6 +85,7 @@ vim.api.nvim_create_autocmd('BufReadCmd', {
|
||||
|
||||
vim.api.nvim_exec_autocmds('BufRead', { group = 'filetypedetect', buffer = ev.buf })
|
||||
vim.bo[ev.buf].modified = false
|
||||
vim.bo[ev.buf].buftype = 'nofile'
|
||||
vim.notify(('Loaded %s'):format(url), vim.log.levels.INFO)
|
||||
end)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user