Skip to content

Commit

Permalink
fix: resolve links when getting MATCHED_FG highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
bi0ha2ard committed May 12, 2024
1 parent 8b542cf commit c28a446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/org-roam/core/ui/select.lua
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ local init_highlights = (function()
-- Define custom highlight group for matching
local normal_hl = vim.api.nvim_get_hl(0, { name = HIGHLIGHTS.NORMAL })
local selected_hl = vim.api.nvim_get_hl(0, { name = HIGHLIGHTS.SELECTED })
local fg = vim.api.nvim_get_hl(0, { name = HIGHLIGHTS.MATCHED_FG }).fg
local fg = vim.api.nvim_get_hl(0, { name = HIGHLIGHTS.MATCHED_FG, link = false }).fg
vim.api.nvim_set_hl(
0,
HIGHLIGHTS.MATCHED,
Expand Down

0 comments on commit c28a446

Please sign in to comment.