nvimdev / galaxyline.nvim

neovim statusline plugin written in lua

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FileIcon does not follow custom file icons defined in nvim-webdevicons

siduck opened this issue · comments

Hi there! I have some custom config ( nvim-webdevicons) for certain file types , but galaxyline doesnt follow that. Other plugins like Nvimtree , nvim-bufferline follows it tho

Nvimtree :
image

nvim-bufferline :
image

webdevicons config :
image

galaxyline's fileicon :
image

It is because icons from vim-devicons are used first and if not installed then nvim-web-devicons is used.

https://github.com/glepnir/galaxyline.nvim/blob/d544cb9d0b56f6ef271db3b4c3cf19ef665940d5/lua/galaxyline/provider_fileinfo.lua#L136-L143

I feel icon loading should be in following order :

  1. Custom User Icons
  2. nvim-web-devicons
  3. vim--devicons