Skip to content

Commit 4de5544

Browse files
committed
fix: returns empty string instead of default icon by default
1 parent cd7be73 commit 4de5544

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/nvim-tree/renderer/init.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ if icon_state.show_folder_icon then
5454
end
5555
end
5656

57-
local get_file_icon = function() return icon_state.icons.default end
57+
local get_file_icon = function() return "" end
5858
if icon_state.show_file_icon then
5959
local web_devicons = require'nvim-web-devicons'
6060

@@ -83,7 +83,7 @@ if icon_state.show_file_icon then
8383
end
8484
end
8585

86-
local get_special_icon = function() return icon_state.icons.default end
86+
local get_special_icon = function() return "" end
8787
if icon_state.show_file_icon then
8888
get_special_icon = function()
8989
return #icon_state.icons.default > 0 and icon_state.icons.default..icon_padding or ""

0 commit comments

Comments
 (0)