fix: selected icon highlight with color_devicons to false (#2187)

(cherry picked from commit 5fadc247c5)
This commit is contained in:
Antoine Bertin
2023-01-06 14:27:50 +01:00
committed by Simon Hauser
parent fd1b8bd9cf
commit 50461b86c0
4 changed files with 4 additions and 5 deletions
+2 -2
View File
@@ -452,7 +452,7 @@ utils.transform_devicons = load_once(function()
if conf.color_devicons then
return icon_display, icon_highlight
else
return icon_display, "TelescopeResultsFileIcon"
return icon_display, nil
end
end
else
@@ -480,7 +480,7 @@ utils.get_devicons = load_once(function()
if conf.color_devicons then
return icon, icon_highlight
else
return icon, "TelescopeResultsFileIcon"
return icon, nil
end
end
else