Skip to content

Conversation

linrongbin16
Copy link
Owner

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
Copy link
Owner Author

The nlua+busted solution actually works great, the only issue is: install lua-5.1 and luarocks in MacOS need to build from source manually.

Can't believe lua doesn't provide a one-line command solution for this....

The best practice is: https://www.reddit.com/r/neovim/comments/1f6d6l3/install_lua_luarocks_on_macos/

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.

1 participant