nvimdev / lspsaga.nvim

improve neovim lsp experience
MIT License
3.42k stars 286 forks source link

winbar parse error when jump to deno cache file #1362

Closed Decodetalkers closed 9 months ago

Decodetalkers commented 9 months ago

Describe the bug

image

as you see , when I want to just from the importMapUrl, it get error that parse with a problem, and the file location is

image

seems it is a buf generaged by deno, and 400.8.2 make the parse comes with a problem

Steps to reproduce

set up denols environment

clone https://github.com/bpevs/bext

https://github.com/bpevs/bext/blob/main/source/main.ts#L100

jump from here, and it get problem..

because the file path from deno is so weired, so it I think https://github.com/nvimdev/lspsaga.nvim/blob/main/lua/lspsaga/symbol/winbar.lua#L197 here is some problem

Expected behavior

the weired file path can also be handled by lspsaga

Neovim version (nvim -v)

0.9.1

lspsaga commit

68d42e24295b4254fdf82a8a686fcf951f8a8d9a

Terminal name/version

wezterm

Decodetalkers commented 9 months ago

or maybe the problem of neovim? I don't know about winbar

Decodetalkers commented 9 months ago

it can be simply repreduced by

nvim test%100.2.lua
Decodetalkers commented 3 months ago

the commit for fix it is dropped.. when..