mirror of
https://github.com/neovim/neovim.git
synced 2026-07-14 13:20:35 +00:00
refactor: update usages of deprecated "buffer" param #39089
This commit is contained in:
@@ -680,7 +680,7 @@ function M.stop()
|
||||
end
|
||||
|
||||
if #M._sessions == 1 then
|
||||
vim.api.nvim_clear_autocmds({ group = snippet_group, buffer = M._session.bufnr })
|
||||
vim.api.nvim_clear_autocmds({ group = snippet_group, buf = M._session.bufnr })
|
||||
vim.api.nvim_buf_clear_namespace(M._session.bufnr, snippet_ns, 0, -1)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user