Closed appelgriebsch closed 2 years ago
I'm unable to reproduce this even with your config . What was the filetype of the file that you were trying to open ? Can you provide an isolated minimal reproduction. If you're on unix https://github.com/nvim-lualine/lualine.nvim/blob/master/scripts/nvim_isolated_conf.sh can help with that .
Also try commenting out this line and see if that fixes the error.
If you still get the error try removing yamatsum/nvim-nonicons
If that doesn't work either check if https://github.com/nvim-lualine/lualine.nvim/pull/589 fixes it
Self Checks
How to reproduce the problem
With recent update as soon as I open a file in Neovim I see the below error being triggered and my lualine is not configured properly.
Expected behaviour
Lualine should show the configured sections as before.
Actual behaviour
E5108: Error executing lua ...ker/opt/lualine.nvim/lua/lualine/components/filetype.lua:49: table index is nil stack traceback: ...ker/opt/lualine.nvim/lua/lualine/components/filetype.lua:49: in function 'apply_icon' ...e/pack/packer/opt/lualine.nvim/lua/lualine/component.lua:218: in function 'draw' ...ck/packer/opt/lualine.nvim/lua/lualine/utils/section.lua:26: in function 'draw_section' ...e/nvim/site/pack/packer/opt/lualine.nvim/lua/lualine.lua:153: in function 'statusline' ...e/nvim/site/pack/packer/opt/lualine.nvim/lua/lualine.lua:319: in function <...e/nvim/site/pack/packer/opt/lualine.nvim/lua/lualine.lua:300>
Minimal config to reproduce the issue
https://github.com/appelgriebsch/dotFiles/blob/master/neovim/lua/config/lualine.lua
Config
Aditional information