style(git): use documented buf key in exec_autocmds opts
This commit is contained in:
+1
-1
@@ -246,7 +246,7 @@ function M.read_uri(buf)
|
||||
M.attach_dispatch(buf)
|
||||
|
||||
vim.api.nvim_buf_call(buf, function()
|
||||
vim.api.nvim_exec_autocmds("BufReadPost", { buffer = buf })
|
||||
vim.api.nvim_exec_autocmds("BufReadPost", { buf = buf })
|
||||
end)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user