Skip to content

Commit 0bf8fe4

Browse files
committed
fix(picker.format): apply hidden file hl group last. Fixes #2127
1 parent 284ea48 commit 0bf8fe4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/snacks/picker/format.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ function M.filename(item, picker)
7878

7979
if is("ignored") then
8080
base_hl = "SnacksPickerPathIgnored"
81-
elseif is("hidden") then
82-
base_hl = "SnacksPickerPathHidden"
8381
elseif item.filename_hl then
8482
base_hl = item.filename_hl
83+
elseif is("hidden") then
84+
base_hl = "SnacksPickerPathHidden"
8585
end
8686
local dir_hl = "SnacksPickerDir"
8787

0 commit comments

Comments
 (0)