Toggle :Gitsigns blame #1532
timsofteng
started this conversation in
General
Replies: 1 comment
-
|
I think it is not implemented. I had the same issue, when I call :Gitsigns blame on the same file twice, I get an error. {
"<leader>gw",
function()
for _, win in ipairs(vim.api.nvim_list_wins()) do
local buf = vim.api.nvim_win_get_buf(win)
if vim.bo[buf].filetype == "gitsigns-blame" then
vim.api.nvim_win_close(win, true)
return
end
end
require("gitsigns").blame()
end,
desc = "Git blame (toggle)"
}, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi. Are there any way to toggle :Gitsigns blame?
Beta Was this translation helpful? Give feedback.
All reactions