Skip to content

Commit b490440

Browse files
committed
add highlight
1 parent 71673fd commit b490440

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

lua/dired/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ UI.Entry = {
242242
for _, col in ipairs(entry.match_pos) do
243243
api.nvim_buf_set_extmark(state.buf, ns_id, row, col, {
244244
end_col = col + 1,
245-
hl_group = 'Function',
245+
hl_group = 'DiredMatch',
246246
hl_mode = 'combine',
247247
})
248248
end

plugin/dired.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ local highlights = {
2020
DiredPrompt = { fg = '#a3be8c' },
2121
DiredTitle = { link = 'Function' },
2222
DiredShort = { link = 'DiredPermissions' },
23+
DiredMatch = { fg = '#268bd2', bold = true },
2324
}
2425

2526
for name, attrs in pairs(highlights) do

0 commit comments

Comments
 (0)