Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent results with the Telescope extension #128

Open
MarcelRobitaille opened this issue Jan 28, 2024 · 1 comment
Open

Inconsistent results with the Telescope extension #128

MarcelRobitaille opened this issue Jan 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@MarcelRobitaille
Copy link

The results are inconsistent when using the telescope extension. Most of the time, there are no results. Once, I was able to get a few results when searching for "test", but only 8 files matched (this repository has much more than 8 test files). However, I can't even reproduce this. If I delete everything and type "test" again, I get no results.

Sometimes, I get this error message:

Error executing vim.schedule lua callback: ...istant.nvim/lua/telescope/_extensions/distant/finder.lua:127: (other) [Query 2725530774] Cancellation failed because no search found
stack traceback:
        [C]: in function 'assert'
        ...istant.nvim/lua/telescope/_extensions/distant/finder.lua:127: in function 'cb'
        ...istant.nvim/lua/telescope/_extensions/distant/finder.lua:195: in function 'cb'
        ...er\start\distant.nvim/lua/distant-core/api/transport.lua:220: in function 'cb'
        ...er\start\distant.nvim/lua/distant-core/api/transport.lua:478: in function '__handle_response'
        ...er\start\distant.nvim/lua/distant-core/api/transport.lua:138: in function '__on_stdout_line'
        ...\pack\packer\start\distant.nvim/lua/distant-core/job.lua:296: in function 'cb'
        ...\pack\packer\start\distant.nvim/lua/distant-core/job.lua:200: in function 'cb'
        vim/_editor.lua:263: in function <vim/_editor.lua:262>
Press ENTER or type command to continue

I am using distant 0.20.0 on the client and remote. I am using nvim 0.9.5 and Telescope 2f3857c25bbd00ed7ac593c9d4071906369e4d20

@chipsenkbeil chipsenkbeil added the bug Something isn't working label Jan 28, 2024
@chipsenkbeil
Copy link
Owner

I think the telescope extension either got broken during part of the refactor, got broken from changes in telescope, or both. So I wouldn't count on it working right now.

You're welcome to take a look at the code: https://github.com/chipsenkbeil/distant.nvim/blob/v0.3/lua/telescope/_extensions/distant/finder.lua

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants