aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home/.config/nvim/after/ftplugin
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2024-05-22 17:21:47 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2024-05-22 17:21:47 +0100
commitd3fefca1c8207511bd15acb49bf7a293b015e7d9 (patch)
tree71c6609a48ebbd88d5e895821ce141316efcc148 /home/.config/nvim/after/ftplugin
parentca80f735ec3d0eb6439d09e864bb0ff58d78260e (diff)
downloaddotfiles-d3fefca1c8207511bd15acb49bf7a293b015e7d9.tar.gz
dotfiles-d3fefca1c8207511bd15acb49bf7a293b015e7d9.tar.bz2
dotfiles-d3fefca1c8207511bd15acb49bf7a293b015e7d9.zip
[nvim] Remove deprecated function
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)