LunarVim / Launch.nvim

🚀 Launch.nvim is modular starter for Neovim.
GNU General Public License v3.0
2k stars 474 forks source link

error in starting nvim-tree plugin #125

Closed biswa1shaw closed 1 year ago

biswa1shaw commented 1 year ago

Getting this error when starting nvim-tree plugin

Error executing Lua callback: ...nvim/lazy/nvim-tree.lua/lua/nvim-tree/explorer/watch.lua:26: bad argument #1 to 'ipairs' (table expected, got nil)
stack traceback:
        [C]: in function 'ipairs'
        ...nvim/lazy/nvim-tree.lua/lua/nvim-tree/explorer/watch.lua:26: in function 'is_folder_ignored'
        ...nvim/lazy/nvim-tree.lua/lua/nvim-tree/explorer/watch.lua:47: in function 'create_watcher'
        .../nvim/lazy/nvim-tree.lua/lua/nvim-tree/explorer/init.lua:20: in function 'new'
        ...e/pack/packer/start/nvim-tree.lua/lua/nvim-tree/core.lua:15: in function 'init'
        ...te/pack/packer/start/nvim-tree.lua/lua/nvim-tree/lib.lua:119: in function 'open'
        ...m/site/pack/packer/start/nvim-tree.lua/lua/nvim-tree.lua:95: in function 'open'
        ...m/site/pack/packer/start/nvim-tree.lua/lua/nvim-tree.lua:79: in function 'toggle'
        ...m/site/pack/packer/start/nvim-tree.lua/lua/nvim-tree.lua:307: in function <...m/site/pack/packer/start/nvim-tree.lua/lua/nvim-tree.lua:306>

configured version is

local M = {
  "kyazdani42/nvim-tree.lua",
  commit = "59e65d88db177ad1e6a8cffaafd4738420ad20b6",
  event = "VimEnter"
}
Rishabh672003 commented 1 year ago

why is it showing packer make sure you have removed the plugin/packer_compiled.lua also do a :checkhealth to see if there are any other issue

Rishabh672003 commented 1 year ago

remove your ~/.local/share/nvim and reopen nvim that should fix your issue if it doesnt reopen this issue, i will update the readme to include this