Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
a73s opened this issue May 4, 2024 · 3 comments
Closed

Comments

@a73s
Copy link

a73s commented May 4, 2024

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

  • OS: Windows
  • Terminal: Alacritty

Neovim Version

NVIM v0.9.5
Build type: RelWithDebInfo
LuaJit 2.1.1703942320
@dam9000
Copy link
Contributor

dam9000 commented May 4, 2024

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

  • Windows with gcc/make using chocolatey

@a73s
Copy link
Author

a73s commented May 4, 2024

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

@a73s a73s closed this as completed May 4, 2024
@a73s
Copy link
Author

a73s commented May 4, 2024

lewis6991/gitsigns.nvim#989 I think this fixed it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants