Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

action_callback = require("gitlinker.actions").open_in_browser not working? #74

Closed
linrongbin16 opened this issue Feb 17, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@linrongbin16
Copy link

Describe the bug

Trying to config default action_callback to open git link in browser. but it still behavior like copy_to_clipboard.

To Reproduce

Use lazy.nvim to install, this is part of lua/plugins.lua:

{
    {
        "ruifm/gitlinker.nvim",
        config = function()
            require("gitlinker").setup({
                mappings = "<leader>gl",
                action_callback = require("gitlinker.actions").open_in_browser,
            })
        end,
    },
},

Expected behavior

Use <leader>gl to open git link in browser.

Screenshots
image

System (please complete the following information):

  • OS: Apple M1 MAX, macOS 13.2.1 (ventura)
  • neovim --version: NVIM v0.8.2
  • git --version: git version 2.39.2

Additional context
Add any other context about the problem here.

@linrongbin16 linrongbin16 added the bug Something isn't working label Feb 17, 2023
@linrongbin16
Copy link
Author

stevanmilic pushed a commit to stevanmilic/gitlinker.nvim that referenced this issue Nov 12, 2023
* refactor(git): rewrite internal API

* refactor(git): rewrite internal API

* refactor(git): rename variable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants