Skip to content

feat(markdown): add '?plain=1' for markdown files to link to code instead of preview#94

Merged
linrongbin16 merged 8 commits intomasterfrom
feat-markdown-plain
Nov 13, 2023
Merged

feat(markdown): add '?plain=1' for markdown files to link to code instead of preview#94
linrongbin16 merged 8 commits intomasterfrom
feat-markdown-plain

Conversation

@linrongbin16
Copy link
Owner

@linrongbin16 linrongbin16 commented Nov 13, 2023

Regression Test

Platforms

  • windows
  • macOS
  • linux

Tasks

  • Use <leader>gl to copy git link.
  • Use <leader>gL to open git link in browser.
  • Copy git link in a symlink directory of git repo.
  • Copy git link in an un-pushed git branch, and receive an expected error.
  • Copy git link in a pushed git branch but edited file, and receive a warning says the git link could be wrong.

@github-actions github-actions bot added the feat label Nov 13, 2023
@codecov
Copy link

codecov bot commented Nov 13, 2023

Codecov Report

Attention: 16 lines in your changes are missing coverage. Please review.

Files Coverage Δ
lua/gitlinker.lua 63.07% <0.00%> (-9.66%) ⬇️

... and 3 files with indirect coverage changes

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant