I'm experiencing a ward error and I have copied the error message in to my repo's ERROR.txt with all my configs. This Error message will show up after I perform PackerCompile and every time I enter the Command-line mode after all plugins have been installed,
The error message says that the config of my plugin rose-pine failed:
packer.nvim: Error running config for rose-pine: [string "..."]:0: Vim(call):E5108: Error executing lua [string "v:lua"]:1: attempt to index field 'plugin' (a nil v
alue)
stack traceback:
^I[string "v:lua"]:1: in main chunk
^I[C]: in function 'cmd'
^I[string "..."]: in function <[string "..."]:0>
^I[C]: in function 'pcall'
^I/home/brucehou/.config/nvim/plugin/packer_compiled.lua:60: in function 'try_loadstring'
^I/home/brucehou/.config/nvim/plugin/packer_compiled.lua:265: in function </home/brucehou/.config/nvim/plugin/packer_compiled.lua:10>
^I[C]: in function 'pcall'
^I/home/brucehou/.config/nvim/plugin/packer_compiled.lua:10: in main chunk
^I[C]: in function 'resume'
but the after my own testing, the cause might be the nvim-cmp and it is sources. I tried remove all cmp related plugins and perform PackerSync, all works. I also tried to keep the nvim-cmp as minimum which is only kept cmp-nvim-lsp and cmp_luasnip, it also works.
I could not understand the compiled configuration but I did a few comparison, the two version looks the same.
I have put the link of my config, it contains all my configurations, but I think the issue only related to the cmp session, and its configuration. I also uploaded the compiled lua file that won't work, but I did not upload the working one. I always just comment the cmp session for testing.
Moreover the .cache/nvim/packer.nvim.log do not have relevant content.
Although I'm not sure if it is a issue cause by packer or my mis-config or other plugins, it is reported by packer. Therefor, I'm seeking for any suggestions that I could follow at here. Any suggestions would be greatly appreciated.
I'm experiencing a ward error and I have copied the error message in to my repo's ERROR.txt with all my configs. This Error message will show up after I perform
PackerCompile
and every time I enter theCommand-line mode
after all plugins have been installed,The error message says that the config of my plugin
rose-pine
failed:but the after my own testing, the cause might be the
nvim-cmp
and it is sources. I tried remove allcmp
related plugins and performPackerSync
, all works. I also tried to keep thenvim-cmp
as minimum which is only kept cmp-nvim-lsp and cmp_luasnip, it also works.I could not understand the compiled configuration but I did a few comparison, the two version looks the same.
I have put the link of my config, it contains all my configurations, but I think the issue only related to the cmp session, and its configuration. I also uploaded the compiled lua file that won't work, but I did not upload the working one. I always just comment the cmp session for testing.
Moreover the .cache/nvim/packer.nvim.log do not have relevant content.
Although I'm not sure if it is a issue cause by packer or my mis-config or other plugins, it is reported by packer. Therefor, I'm seeking for any suggestions that I could follow at here. Any suggestions would be greatly appreciated.