mirror of
https://github.com/neovim/neovim.git
synced 2026-07-15 05:40:34 +00:00
fix(net): :edit <uri> should set buftype=nofile #39915
This commit is contained in:
@@ -67,6 +67,7 @@ vim.api.nvim_create_autocmd('BufReadCmd', {
|
|||||||
end
|
end
|
||||||
|
|
||||||
vim.bo[ev.buf].modified = false
|
vim.bo[ev.buf].modified = false
|
||||||
|
vim.bo[ev.buf].buftype = 'nofile'
|
||||||
vim.notify(('Loaded %s'):format(url), vim.log.levels.INFO)
|
vim.notify(('Loaded %s'):format(url), vim.log.levels.INFO)
|
||||||
end)
|
end)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user