Skip to content

Fix Deno path handling in definition module#1521

Merged
glepnir merged 1 commit intonvimdev:mainfrom
yuki-yano:fix/deno_definition
Jan 28, 2025
Merged

Fix Deno path handling in definition module#1521
glepnir merged 1 commit intonvimdev:mainfrom
yuki-yano:fix/deno_definition

Conversation

@yuki-yano
Copy link
Contributor

When using definition in Deno, the following issue occurs:
neovim/neovim#30908

Since it opens a non-existent path as a virtual file, executing the edit command from peek definition attempts to create and open an inappropriate path that includes the cwd, resulting in an error. I have added a process to convert the path appropriately when opening files that start with deno:/. "

@glepnir glepnir merged commit 9c705c9 into nvimdev:main Jan 28, 2025
2 of 4 checks passed
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.

2 participants