lazy.nvim icon indicating copy to clipboard operation
lazy.nvim copied to clipboard

bug: lazyvim logs don't open hover action in WSL

Open 80avin opened this issue 9 months ago • 2 comments

Did you check docs and existing issues?

  • [x] I have read all the lazy.nvim docs
  • [x] I have updated the plugin to the latest version before submitting this issue
  • [x] I have searched the existing issues of lazy.nvim
  • [x] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

0.11.0-dev-1918+ge46f07b1d2

Operating system/version

Windows 11 ( WSL2 - Ubuntu 24.04 )

Describe the bug

Pressing K over commit IDs in lazyvim logs doesn't open the commit ID in browser.

This issue gets solved if I use vim.ui.open in https://github.com/folke/lazy.nvim/blob/6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a/lua/lazy/util.lua#L23 instead of the implemented logic.

Steps To Reproduce

  1. Install lazy.nvim in WSL2
  2. open Lazyvim logs by running :Lazy
  3. On any plugin's commit id, press K

Expected Behavior

Browser should open the commit in browser.

Repro

vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
  spec = {
    -- add any other plugins here
  },
})

80avin avatar Mar 13 '25 20:03 80avin

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Apr 13 '25 02:04 github-actions[bot]

This isn't stale

80avin avatar Apr 13 '25 05:04 80avin

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar May 14 '25 02:05 github-actions[bot]

No, it is not stale.

80avin avatar May 14 '25 06:05 80avin

I have also get the same problem. For now, i just use gx in virsual mode for workaround

qq123538 avatar Jun 07 '25 06:06 qq123538

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Jul 30 '25 02:07 github-actions[bot]

Not yet.

80avin avatar Jul 30 '25 03:07 80avin

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Aug 31 '25 02:08 github-actions[bot]

This issue was closed because it has been stalled for 7 days with no activity.

github-actions[bot] avatar Sep 08 '25 02:09 github-actions[bot]