Skip to content

Commit 3e9ef56

Browse files
committed
adjust for create_path_display tweaks
1 parent 0fe2147 commit 3e9ef56

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lua/telescope/_extensions/file_browser/make_entry.lua

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,10 @@ local make_entry = function(opts)
125125
local display_array = {}
126126
local icon, icon_hl
127127

128-
local path_display, style =
129-
utils.create_path_display(entry, vim.tbl_extend("force", opts, { disable_devicons = true }))
128+
local path_display, style = utils.create_path_display(
129+
entry,
130+
vim.tbl_extend("force", opts, { disable_devicons = true, dir_hl = "TelescopePreviewDirectory" })
131+
)
130132

131133
if entry.is_dir then
132134
if entry.path == parent_dir then

0 commit comments

Comments
 (0)