Closed linrongbin16 closed 6 months ago
Attention: Patch coverage is 25.00000%
with 3 lines
in your changes are missing coverage. Please review.
Project coverage is 77.61%. Comparing base (
0ff97f4
) to head (24569e9
).
Files | Patch % | Lines |
---|---|---|
lua/gitlinker.lua | 0.00% | 2 Missing :warning: |
lua/gitlinker/linker.lua | 50.00% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Fix #224 .
I add an example that a file path contains multiple whitespaces here: https://github.com/linrongbin16/gitlinker.nvim/blob/4ce2bd4ceecf22393226f62b77074913f6aa4209/minimal_init/test%20cases/this%20is%20a%20file%20contains%20whitespaces.txt?plain=1#L1
The thing is:
GitLink!
) in browser, the browser (for my, it's google chrome) will auto encode the url into URI format, so it's still working for a browser.Regression Test
Platforms
Hosts
Functions
GitLink(!)
to copy git link (or open in browser).GitLink(!) blame
to copy the/blame
link (or open in browser).GitLink(!) default_branch
to open the/main
//master
link in browser (or open in browser).GitLink(!) current_branch
to open the current branch link in browser (or open in browser).