Skip to content

configurable git command timeout#108

Open
aduitsis wants to merge 2 commits intoruifm:masterfrom
aduitsis:gitlinker-git-timeout-configuration
Open

configurable git command timeout#108
aduitsis wants to merge 2 commits intoruifm:masterfrom
aduitsis:gitlinker-git-timeout-configuration

Conversation

@aduitsis
Copy link

@aduitsis aduitsis commented Feb 18, 2026

This is a naive change to allow increasing the timeout from the plenary default of 5000ms. When working with a large repo, sometimes a git command might take more than 5 seconds, in which case we get an annoying error in neovim and whatever we tried to do fails. Using require("gitlinker").setup({opts={git_timeout=50000}}) we can increase to whatever timeout we desire to solve this little problem.

Added git_timeout option to configure command timeout.
@aduitsis aduitsis changed the title Gitlinker git timeout configuration configurable git command timeout Feb 18, 2026
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

Successfully merging this pull request may close these issues.

1 participant

Comments