aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home/.config/nvim/after/ftplugin
diff options
context:
space:
mode:
Diffstat (limited to 'home/.config/nvim/after/ftplugin')
-rw-r--r--home/.config/nvim/after/ftplugin/gitrebase.lua2
1 files changed, 1 insertions, 1 deletions
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)