英文:
How to resolve 'Invalid window id' error when using Telescope plugin in Neovim?
问题
打开telescope并选择命令如find_files或colorscheme时会抛出此错误。我该怎么办。
英文:
Error executing vim.schedule lua callback: ...ck/packer/start/telescope.nvim/lua/telescope/pickers.lua:756: Invalid
window id: 1004
stack traceback:
[C]: in function 'nvim_win_close'
...ck/packer/start/telescope.nvim/lua/telescope/pickers.lua:756: in function 'close_windows'
...ck/packer/start/telescope.nvim/lua/telescope/pickers.lua:1501: in function ''
vim/_editor.lua: in function ''
vim/_editor.lua: in function <vim/_editor.lua:0>
Whenever I open telescope and select a command like find_files or colorscheme it throws this error at me. What should I do.
答案1
得分: 0
看起来这是由最近一次提交引入的 bug,该提交位于 nvim-telescope/telescope.nvim。我建议将你的 telescope.nvim 插件降级到这次提交之前的版本。最新的已标记发布版本是 v0.1.1
。
我还提交了一个问题,你可以关注那个问题,但一般来说最好不要使用插件的最新提交。
英文:
It appears that this is a bug that was introduced with a recent commit to nvim-telescope/telescope.nvim. I would recommend downgrading your telescope.nvim plugin to a version before this commit. The latest tagged release is v0.1.1
I also submitted an issue, you could monitor that, but in general it's best not to use the latest commit of a plugin.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论