You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I open Neovim while being on a network path (for example, \\SERVER01\d$\directory) and try to search using Telescope's grep search, the operation fails.
[telescope] [WARN 13:38:52] C:/Users/my-user/AppData/Local/nvim-data/lazy/telescope.nvim/lua/telescope/pickers.lua:497: Finder failed with msg: .../Local/nvim-data/lazy/telescope.nvim/lua/telescope/_.lua:76: Failed to spawn process: { command = "rg", pid = "ENOENT: no such file or directory",
[...]
uv_opts = { [...] cwd = "\\\\servervm6\\d\\$\\net\\sites\\webapp}
I suspect that the problem is "d$" being split into "d" and "$", resulting in an invalid path.
When starting Neovim on path C:\test:
==============================================================================
telescope: require("telescope.health").check()
Checking for required plugins ~
- OK plenary installed.
- OK nvim-treesitter installed.
Checking external dependencies ~
- OK rg: found ripgrep 14.1.0 (rev e50df40a19)
- OK fd: found fd 9.0.0
===== Installed extensions ===== ~
After changing path: :lcd\\DESKTOP-NAME\c$\test:
==============================================================================
telescope: require("telescope.health").check()
- ERROR Failed to run healthcheck for "telescope" plugin. Exception:
function health#check, line 25
Vim(eval):E5108: Error executing lua ...l/nvim-data/lazy/telescope.nvim/lua/telescope/health.lua:104: attempt to perform arithmetic on local 'eol' (a nil value)
stack traceback:
...l/nvim-data/lazy/telescope.nvim/lua/telescope/health.lua:104: in function 'check'
[string "luaeval()"]:1: in main chunk
Steps to reproduce
nvim -nu minimal.lua
:cd \\YOUR_MACHINE_NAME\c$
:Telescope live_grep
Type text you are looking for
Expected behavior
Display list of files containing searched text and preview of selected file in Grep Preview section.
Actual behavior
"Results" and "Grep Preview" sections are empty. Warning appears in :messages
Description
When I open Neovim while being on a network path (for example, \\SERVER01\d$\directory) and try to search using Telescope's grep search, the operation fails.
I suspect that the problem is "d$" being split into "d" and "$", resulting in an invalid path.
Neovim version
Operating system and version
Windows 11 Pro
Telescope version / branch / rev
telescope 0.1.x
checkhealth telescope
Steps to reproduce
nvim -nu minimal.lua
:cd \\YOUR_MACHINE_NAME\c$
:Telescope live_grep
Expected behavior
Display list of files containing searched text and preview of selected file in Grep Preview section.
Actual behavior
"Results" and "Grep Preview" sections are empty. Warning appears in
:messages
Minimal config
The text was updated successfully, but these errors were encountered: