@@ -276,15 +276,15 @@ local function setup_highlights()
276
276
SelectaPrompt = { link = " FloatTitle" },
277
277
SelectaSelected = { link = " Statement" },
278
278
SelectaFooter = { link = " Comment" },
279
- -- SelectaCurrentLine = { link = M.config.current_highlight.hl_group },
279
+ -- NamuCurrentLine = { link = M.config.current_highlight.hl_group },
280
280
}
281
281
282
282
-- NOTE: for some wierd reason, this is the only way those 2 highlight groups works
283
283
local current_hl_group = M .config .current_highlight .hl_group
284
284
vim .cmd (string.format (
285
285
[[
286
286
highlight default link SelectaFilter Type
287
- highlight default link SelectaCurrentLine %s
287
+ highlight default link NamuCurrentLine %s
288
288
]] ,
289
289
current_hl_group
290
290
))
@@ -760,14 +760,14 @@ local function update_current_highlight(state, opts, line_nr)
760
760
end_row = line_nr + 1 ,
761
761
end_col = 0 ,
762
762
hl_eol = true ,
763
- hl_group = " SelectaCurrentLine " ,
763
+ hl_group = " NamuCurrentLine " ,
764
764
priority = 201 , -- Higher than regular highlights but lower than matches
765
765
})
766
766
767
767
-- Add the prefix icon if enabled
768
768
if M .config .current_highlight .enabled and # M .config .current_highlight .prefix_icon > 0 then
769
769
vim .api .nvim_buf_set_extmark (state .buf , current_selection_ns , line_nr , 0 , {
770
- virt_text = { { M .config .current_highlight .prefix_icon , " SelectaCurrentLine " } },
770
+ virt_text = { { M .config .current_highlight .prefix_icon , " NamuCurrentLine " } },
771
771
virt_text_pos = " overlay" ,
772
772
priority = 100 , -- Higher priority than the line highlight
773
773
})
0 commit comments