From d3fefca1c8207511bd15acb49bf7a293b015e7d9 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 22 May 2024 17:21:47 +0100 Subject: [nvim] Remove deprecated function --- home/.config/nvim/after/ftplugin/gitrebase.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/.config/nvim/after/ftplugin/gitrebase.lua b/home/.config/nvim/after/ftplugin/gitrebase.lua index 98fd264..38a2153 100644 --- a/home/.config/nvim/after/ftplugin/gitrebase.lua +++ b/home/.config/nvim/after/ftplugin/gitrebase.lua @@ -1,7 +1,7 @@ local map = require("mapper") local ncmd = map.ncmd local vcmd = map.vcmd -local bufnr = vim.api.nvim_buf_get_number(0) +local bufnr = 0 ncmd("gc", "Cycle", nil, bufnr) ncmd("gp", "Pick", nil, bufnr) -- cgit v1.2.3-70-g09d2