Fixed issues with fugitive plugin