mirror of
https://github.com/neovim/neovim.git
synced 2026-06-15 16:23:48 +00:00
fix(net): :edit <uri> should set buftype=nofile #39915
(cherry picked from commit 24e00f2844)
This commit is contained in:
committed by
github-actions[bot]
parent
33b6b0bfe5
commit
17ddfde131
@@ -67,6 +67,7 @@ vim.api.nvim_create_autocmd('BufReadCmd', {
|
||||
end
|
||||
|
||||
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