Skip to content

feat(plugin): add 'plugin/gitlinker.lua' to automatically initialize#287

Merged
linrongbin16 merged 3 commits intomasterfrom
plugins
Jan 8, 2026
Merged

feat(plugin): add 'plugin/gitlinker.lua' to automatically initialize#287
linrongbin16 merged 3 commits intomasterfrom
plugins

Conversation

@linrongbin16
Copy link
Owner

Close #285

Test Platforms

  • windows
  • macOS
  • linux

Test Hosts

Test Functions

  • Use GitLink(!) to copy git link (or open in browser).
  • Use GitLink(!) blame to copy the /blame link (or open in browser).
  • Use GitLink(!) default_branch to open the /main//master link in browser (or open in browser).
  • Use GitLink(!) current_branch to open the current branch link in browser (or open 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.
  • Copy git link with 'file' and 'rev' parameters.

@linrongbin16 linrongbin16 changed the title feat(plugin): add 'plugin/gitlinker.vim' to automatically initialize feat(plugin): add 'plugin/gitlinker.lua' to automatically initialize Jan 8, 2026
@linrongbin16 linrongbin16 merged commit 0a746e6 into master Jan 8, 2026
5 checks passed
@linrongbin16 linrongbin16 deleted the plugins branch January 8, 2026 22:04
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.

Remove the need to call the setup function

1 participant