nvim-tree / nvim-web-devicons

lua `fork` of vim-web-devicons for neovim
MIT License
1.92k stars 181 forks source link

W18 invalid character in a group name #446

Closed VynceCook closed 2 months ago

VynceCook commented 2 months ago

Hello,

I have an error when opening vim:

Capture d’écran du 2024-04-19 12-34-43

When I comment out the web-devicons package, the error disappears but I no longer have the icons in my lualine bar:

" Plug 'nvim-tree/nvim-web-devicons' " If you want to have icons in your statusline choose one of these

Here is the extract from the log file that allowed me to see that the error came from web-devicons. Unfortunately there isn't much information about where the error came from.

chdir(/home/vincent)
chdir(/home/vincent/.local/share/nvim/site/plugged/nvim-web-devicons/lua)
chdir(/home/vincent)
                    W18: Caractère invalide dans un nom de groupe
chdir(/home/vincent)
chdir(/home/vincent/.local/share/nvim/site/plugged/nvim-web-devicons/lua)
chdir(/home/vincent)

I use NVIM v0.7.2.

Have you encountered this problem before?

gegoune commented 2 months ago

Neovim 0.7.2 is almost two years old. I would suggest you try newer version, ideally latest stable, which definitely is supported by this plugin.

We say in readme neovim >=0.7.0, but perhaps there were changes that broke that requirement without updating readme.

VynceCook commented 2 months ago

I have upgraded nvim to a newer version and it works. Thanks a lot.