From 646ce85aa5e0e429625b205cbf3ce9fe0a99da51 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Wed, 15 Apr 2026 14:45:26 -0400 Subject: refactor: update usages of deprecated "buffer" param #39089 --- test/functional/lua/buffer_updates_spec.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/functional/lua/buffer_updates_spec.lua') 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, {}) -- cgit