Skip to content

Commit

Permalink
adjust for create_path_display tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
jamestrew committed Jul 22, 2024
1 parent bd81409 commit 7921a43
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lua/telescope/_extensions/file_browser/make_entry.lua
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,10 @@ local make_entry = function(opts)
local display_array = {}
local icon, icon_hl

local path_display, style =
utils.create_path_display(entry, vim.tbl_extend("force", opts, { disable_devicons = true }))
local path_display, style = utils.create_path_display(
entry,
vim.tbl_extend("force", opts, { disable_devicons = true, dir_hl = "TelescopePreviewDirectory" })
)

if entry.is_dir then
if entry.path == parent_dir then
Expand Down

0 comments on commit 7921a43

Please sign in to comment.