aboutsummaryrefslogtreecommitdiff
path: root/runtime/plugin/net.lua
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/plugin/net.lua')
-rw-r--r--runtime/plugin/net.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/plugin/net.lua b/runtime/plugin/net.lua
index ac3700ee26..05bec30c11 100644
--- a/runtime/plugin/net.lua
+++ b/runtime/plugin/net.lua
@@ -82,7 +82,7 @@ vim.api.nvim_create_autocmd('BufReadCmd', {
return
end
- vim.api.nvim_exec_autocmds('BufRead', { group = 'filetypedetect', buffer = ev.buf })
+ vim.api.nvim_exec_autocmds('BufRead', { group = 'filetypedetect', buf = ev.buf })
vim.bo[ev.buf].modified = false
vim.notify(('Loaded %s'):format(url), vim.log.levels.INFO)
end)