properly check web dev icons
This commit is contained in:
parent
5eaeac123b
commit
1d61d6b123
@ -18,6 +18,7 @@
|
||||
|
||||
## TODO
|
||||
- add docs
|
||||
- fix coloring when no dev icons
|
||||
- add options for users (tree side, tree size)
|
||||
- cd command to move faster accross the fs if needed
|
||||
- quickly find file in the directory structure
|
||||
|
||||
@ -57,7 +57,7 @@ local function dev_icons(pathname, isdir, open)
|
||||
end
|
||||
|
||||
local function get_icon_func_gen()
|
||||
if api.nvim_call_function('exists', { "WebDevIconsGetFileTypeSymbol" }) == 0 then
|
||||
if api.nvim_call_function('exists', { "*WebDevIconsGetFileTypeSymbol" }) == 1 then
|
||||
return dev_icons
|
||||
else
|
||||
return default_icons
|
||||
|
||||
Loading…
Reference in New Issue
Block a user