aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/buffer_updates_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2026-04-15 14:45:26 -0400
committerGitHub <noreply@github.com>2026-04-15 18:45:26 +0000
commit646ce85aa5e0e429625b205cbf3ce9fe0a99da51 (patch)
tree156aae68b291b163e57ee207f9e2f4c72b9a6c0e /test/functional/lua/buffer_updates_spec.lua
parent71ac4db335e00b03b27d2c4aa5ab90c083a3a3e7 (diff)
downloadrneovim-646ce85aa5e0e429625b205cbf3ce9fe0a99da51.tar.gz
rneovim-646ce85aa5e0e429625b205cbf3ce9fe0a99da51.tar.bz2
rneovim-646ce85aa5e0e429625b205cbf3ce9fe0a99da51.zip
refactor: update usages of deprecated "buffer" param #39089
Diffstat (limited to 'test/functional/lua/buffer_updates_spec.lua')
-rw-r--r--test/functional/lua/buffer_updates_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/lua/buffer_updates_spec.lua b/test/functional/lua/buffer_updates_spec.lua
index bf2b8e2626..3a0f6875cc 100644
--- a/test/functional/lua/buffer_updates_spec.lua
+++ b/test/functional/lua/buffer_updates_spec.lua
@@ -1819,7 +1819,7 @@ describe('nvim_buf_attach on_detach', function()
_G.events = {}
vim.api.nvim_buf_attach(1, false, { on_detach = _G.on_detach })
vim.api.nvim_create_autocmd('BufUnload', {
- buffer = 1,
+ buf = 1,
once = true,
callback = function()
vim.api.nvim_buf_attach(1, false, {
@@ -1892,7 +1892,7 @@ it('nvim_buf_attach from buf_freeall autocommands does not leak', function()
exec_lua(function()
local b = vim.api.nvim_create_buf(true, true)
vim.api.nvim_create_autocmd('BufWipeout', {
- buffer = b,
+ buf = b,
once = true,
callback = function()
vim.api.nvim_buf_attach(b, false, {})