[Bug] file_info provider not displaying the correct icons for .ts/.js files
igolt opened this issue · 4 comments
Neovim version
NVIM v0.7.0
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by builduser
Features: +acl +iconv +tui
See ":help feature-compile"
Feline version
master branch (commit: 79f5e9e)
Describe the bug
file_info does not display the correct icons for typescript/javascript files.
To Reproduce
You can use the minimal setup require('feline').setup()
and open .js/.ts file
I think it can be fixed by changing:
lua/feline/providers/file.lua (line 66)
local extension = bo.filetype
to
local extension = fn.expand('%:e')
Thanks in advance
Can you reproduce this issue on the develop branch?
No, it works as expected on the develop branch.
Alright, I'll try to resolve the issue in the master branch within a few days. Until then, please use the develop branch. Sorry for the incovenience.
Should be fixed now