diff options
author | sommerfeld <sommerfeld@sommerfeld.dev> | 2024-05-22 17:21:47 +0100 |
---|---|---|
committer | sommerfeld <sommerfeld@sommerfeld.dev> | 2024-05-22 17:21:47 +0100 |
commit | d3fefca1c8207511bd15acb49bf7a293b015e7d9 (patch) | |
tree | 71c6609a48ebbd88d5e895821ce141316efcc148 /home/.config/nvim/after | |
parent | ca80f735ec3d0eb6439d09e864bb0ff58d78260e (diff) | |
download | dotfiles-d3fefca1c8207511bd15acb49bf7a293b015e7d9.tar.gz dotfiles-d3fefca1c8207511bd15acb49bf7a293b015e7d9.tar.bz2 dotfiles-d3fefca1c8207511bd15acb49bf7a293b015e7d9.zip |
[nvim] Remove deprecated function
Diffstat (limited to 'home/.config/nvim/after')
-rw-r--r-- | home/.config/nvim/after/ftplugin/gitrebase.lua | 2 |
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) |