diff --git a/nvim/lua/darcula/autocmds.lua b/nvim/lua/darcula/autocmds.lua index 1fc97fe..0e4c0c3 100644 --- a/nvim/lua/darcula/autocmds.lua +++ b/nvim/lua/darcula/autocmds.lua @@ -28,8 +28,11 @@ local group = local pos = vim.fn.line('\'"') if pos >= 1 and pos <= vim.fn.line("$") and vim.bo.filetype ~= "commit" and - vim.bo.filetype ~= "gitcommit" and vim.bo.filetype ~= "rebase" + vim.bo.filetype ~= "gitcommit" and + vim.bo.filetype ~= "fugitive" and + vim.bo.filetype ~= "rebase" then + print("oops", pos, vim.bo.filetype) vim.cmd('normal! g`"') end end