mirror of
https://github.com/folke/snacks.nvim
synced 2025-12-23 08:47:57 +00:00
fix(picker.format): apply hidden file hl group last. Fixes #2127
This commit is contained in:
parent
284ea48e7c
commit
0bf8fe4ece
1 changed files with 2 additions and 2 deletions
|
|
@ -78,10 +78,10 @@ function M.filename(item, picker)
|
||||||
|
|
||||||
if is("ignored") then
|
if is("ignored") then
|
||||||
base_hl = "SnacksPickerPathIgnored"
|
base_hl = "SnacksPickerPathIgnored"
|
||||||
elseif is("hidden") then
|
|
||||||
base_hl = "SnacksPickerPathHidden"
|
|
||||||
elseif item.filename_hl then
|
elseif item.filename_hl then
|
||||||
base_hl = item.filename_hl
|
base_hl = item.filename_hl
|
||||||
|
elseif is("hidden") then
|
||||||
|
base_hl = "SnacksPickerPathHidden"
|
||||||
end
|
end
|
||||||
local dir_hl = "SnacksPickerDir"
|
local dir_hl = "SnacksPickerDir"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue