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

fix: gitsigns in fugitive buffer not visible #460

Merged
merged 1 commit into from
Jan 29, 2022

Conversation

lschwahn
Copy link
Contributor

The regular expression in gitsigns.lua did not recognize a path like:
fugitive:///home/path/to/project/.git//1b441b947c4bc9a59db428f229456619051dd133/subfolder/to/a/file.txt

Fixed it by adding a missing "/". This is compatible with PR #152 and still works with git submodules.

@lewis6991
Copy link
Owner

Thanks, I've updated the PR with a testcase (required a bit of refactoring).

@lewis6991 lewis6991 merged commit 2fa3716 into lewis6991:main Jan 29, 2022
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.

None yet

2 participants