summaryrefslogtreecommitdiff
path: root/lua/telescope
diff options
context:
space:
mode:
authorTJ DeVries <devries.timothyj@gmail.com>2020-11-02 17:07:27 -0500
committerTJ DeVries <devries.timothyj@gmail.com>2020-11-02 17:07:32 -0500
commit855d818a5dc3e7762a6c375b424cc99e1a7e8553 (patch)
tree775ab8cb47069f2c7564ed3eba5f3b4c221efbf2 /lua/telescope
parentaba433c52229268b563ac14f4d07781275d03923 (diff)
fix: #211
Diffstat (limited to 'lua/telescope')
-rw-r--r--lua/telescope/make_entry.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/telescope/make_entry.lua b/lua/telescope/make_entry.lua
index bf018d0..76e5275 100644
--- a/lua/telescope/make_entry.lua
+++ b/lua/telescope/make_entry.lua
@@ -10,6 +10,10 @@ local make_entry = {}
local transform_devicons
if has_devicons then
+ if not devicons.has_loaded() then
+ devicons.setup()
+ end
+
transform_devicons = function(filename, display, disable_devicons)
if disable_devicons or not filename then
return display