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

Telescope Error when scrolling #76

Closed
thecontinium opened this issue Sep 23, 2022 · 3 comments · Fixed by #116
Closed

Telescope Error when scrolling #76

thecontinium opened this issue Sep 23, 2022 · 3 comments · Fixed by #116

Comments

@thecontinium
Copy link
Contributor

When I use ZkNotes and scroll down and then back up I get this error.

Error executing vim.schedule lua callback: .../telescope.nvim_0.1.x/lua/telescope/previewers/utils.lua:158: Expected Lua number
stack traceback:
        [C]: in function 'nvim_win_get_height'
        .../telescope.nvim_0.1.x/lua/telescope/previewers/utils.lua:158: in function ''
        vim/_editor.lua: in function <vim/_editor.lua:0>
Press ENTER or type command to continue

Going back up one at a time ie slowly does not produce the error.
Holding down the up key and stopping produces many of these errors.
I can't repeat this in any another Telescope "action" which is why I am raising it here.

Does anyone else experience this ?

@thecontinium
Copy link
Contributor Author

I have j,k mapped to up/down for telegram. This problem occurred when I added additional mapping starting with j or k.

@mickael-menu
Copy link
Member

This error occurs in telescope.nvim, are you sure it's related to zk-nvim?

@thecontinium
Copy link
Contributor Author

It’s a telescope problem.

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 a pull request may close this issue.

2 participants