Skip to content

Support absolute/relative path checks on Windows#148

Merged
glepnir merged 1 commit intonvimdev:mainfrom
tmwitczak:fix/windows-git-branch
Apr 25, 2021
Merged

Support absolute/relative path checks on Windows#148
glepnir merged 1 commit intonvimdev:mainfrom
tmwitczak:fix/windows-git-branch

Conversation

@tmwitczak
Copy link
Copy Markdown
Contributor

Fixes #135

This PR extends the absolute/relative path check to support Windows in the GitBranch provider.

Fixes nvimdev#135

- Rewrites the existing condition to check for the path type by using
  regular expressions.
- Adds a new check for Windows absolute paths.
@glepnir glepnir merged commit d544cb9 into nvimdev:main Apr 25, 2021
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.

Git Provider "GitBranch" seem not work on Windows

2 participants