fix: fix on autoattach non-file buffers

This commit is contained in:
2025-09-11 17:14:44 +02:00
parent ffe3dd73ff
commit 3015299545

View File

@@ -26,8 +26,10 @@ end
local function enableOnLine()
vim.api.nvim_create_autocmd("CursorMoved", {
callback = function()
if vim.bo.buftype == nil or vim.bo.buftype == '' then
clearBlame()
blameCurrentLine()
end
end,
})
end