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
say I have a network-mount in /home/myuser/my-far-away-stuff that, to keep it simple, it's actually located in the moon so the ping is real high
when I move selection on one of those files, neovim becomes unresponsive until the previewer times out
while I could change the timeout, the thing is that it doesn't have to timeout. The freezing comes from the capture("file --mime-type -b ...") call that waits for that command output (and that command freezes until it can read bytes from the file).
the fix should be fairly easy by replacing capture() with something async (probably using vim.uv)
Neovim version
NVIM v0.10.2
Build type: Release
LuaJIT 2.1.1713484068
Run "nvim -V1 -v" for more info
==============================================================================
telescope: require("telescope.health").check()
Checking for required plugins ~
- OK plenary installed.
- OK nvim-treesitter installed.
Checking external dependencies ~
- OK rg: found ripgrep 13.0.0
- OK fd: found fdfind 8.6.0
===== Installed extensions ===== ~
Telescope Extension: `frecency` ~
- OK nvim-web-devicons installed.
- OK ripgrep installed.
Telescope Extension: `fzf` ~
- OK lib working as expected
- OK file_sorter correctly configured
- OK generic_sorter correctly configured
Steps to reproduce
have a directory with slow access
Telescope find_files on that directory
Move around any of those files
neovim becomes unresponsive until preview times out
Expected behavior
neovim doesn't freeze while waiting for previewer (I can still use UI to, for example, finish writing input for telescope)
previewer shows "is loading" message? not necessary but I just realized a blank preview may lack a message to tell it apart from "timed out" or "nothing in it"
Actual behavior
neovim freezes until timeout. any keypresses while it's frozen are queued and after timeout they're unqueued
Minimal config
-- any current Telescope setup
The text was updated successfully, but these errors were encountered:
Description
say I have a network-mount in
/home/myuser/my-far-away-stuff
that, to keep it simple, it's actually located in the moon so the ping is real highwhen I move selection on one of those files, neovim becomes unresponsive until the previewer times out
while I could change the timeout, the thing is that it doesn't have to timeout. The freezing comes from the
capture("file --mime-type -b ...")
call that waits for that command output (and that command freezes until it can read bytes from the file).the fix should be fairly easy by replacing
capture()
with something async (probably usingvim.uv
)Neovim version
Operating system and version
debian 12
Telescope version / branch / rev
a0bbec2
checkhealth telescope
Steps to reproduce
Telescope find_files
on that directoryExpected behavior
Actual behavior
neovim freezes until timeout. any keypresses while it's frozen are queued and after timeout they're unqueued
Minimal config
-- any current Telescope setup
The text was updated successfully, but these errors were encountered: