nvim-lua / kickstart.nvim

A launch point for your personal nvim configuration
MIT License
18.86k stars 21.57k forks source link

Gitsignes errors whenever there is not a git repo in the parent folder. #905

Closed a73s closed 5 months ago

a73s commented 5 months ago

Describe the bug

Gitsignes gives errors when opening neovim whenever it cannot find a git repo in the parent. Maybe there is a way to prevent gitsignes from running for folders where there is not git repo.

To Reproduce

  1. open a file with nvim which does not have a git repo in it's parent folder

Desktop

Neovim Version

NVIM v0.9.5
Build type: RelWithDebInfo
LuaJit 2.1.1703942320
dam9000 commented 5 months ago

What errors? Can you post a screenshot? How did you install nvim?

This works fine for me I'm not seeing any errors outside git. Perhaps try following these install instructions: https://github.com/nvim-lua/kickstart.nvim?tab=readme-ov-file#windows-installation

a73s commented 5 months ago

Ok wtf now its not doing it. I believe its because I updated my plugins. Sorry...

a73s commented 5 months ago

https://github.com/lewis6991/gitsigns.nvim/issues/989 I think this fixed it