Skip to content

Conversation

linrongbin16
Copy link
Owner

@linrongbin16 linrongbin16 commented Aug 22, 2025

Close #269

Here's the testing/demo with "rcarriga/nvim-notify" plugin:

image

NOTE: The message is printed on top-right corner

One thing need to notify is: This plugin is using the standard "vim.notify" API, and any third-party notify plugins should override it. For "rcarriga/nvim-notify" as an example, it need to configure with:

-- Setup plugin
require("notify").setup()
-- Override default "vim.notify"
vim.notify = require("notify")

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

Have no idea why the unit test and coverage in CI failed, skip it.

@linrongbin16 linrongbin16 merged commit ff63746 into master Aug 22, 2025
3 of 6 checks passed
@linrongbin16 linrongbin16 deleted the vim-notify branch August 22, 2025 05:00
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.

Feature: yank notificaiton message
1 participant