eggtoopain / Neovim-Configuration-Tutorial

MIT License
250 stars 89 forks source link

使用telescope时的一个问题 #8

Closed Kdfyd closed 3 months ago

Kdfyd commented 10 months ago

当使用空格键加ff时:E5108: Error executing lua: ...ck/packer/start/telescope.nvim/lua/telescope/pickers.lua:347: Invalid 'event': 'User TelescopeFindPre' ,无法使用telescope

moon-jam commented 3 months ago

這是舊版telescope問題 ( 詳見此處 ) 只要將版本更新即可,把 pugins-setup.lua 中 telescope 的版本改成 0.1.4 重開後就能正常運作了

  use {
    'nvim-telescope/telescope.nvim', tag = '0.1.4',  -- 文件检索
    requires = { {'nvim-lua/plenary.nvim'} }
  }

執行完上面兩還之後應該就可以正常運作了

Kdfyd commented 3 months ago

這是舊版telescope問題 ( 詳見此處 ) 只要將版本更新即可,把 pugins-setup.lua 中 telescope 的版本改成 0.1.4 重開後就能正常運作了

  use {
    'nvim-telescope/telescope.nvim', tag = '0.1.4',  -- 文件检索
    requires = { {'nvim-lua/plenary.nvim'} }
  }

執行完上面兩還之後應該就可以正常運作了

好的,非常感谢你!

Yrd980 commented 1 month ago

补充其他问题 E5113: Error while calling lua chunk: ...m/lazy/telescope.nvim/lua/telescope/_extensions/init.lua:10: 'fzf' extension doesn't exist or isn't installed: module ' telescope._extensions.fzf' not found 参考 https://www.reddit.com/r/neovim/comments/183pj1i/how_to_resolve_fzf_extension_doesnt_exist_or_isnt/ E5108: Error executing lua: ...share/nvim/lazy/telescope.nvim/lua/telescope/pickers.lua:347: Invalid 'event': 'User TelescopeFindPre' 参考 https://github.com/nvim-telescope/telescope.nvim/issues/2734