feat(highlight): implement CurSearch highlight

Adds a `CurSearch` highlight group to highlight the current search result under the cursor.
This commit is contained in:
Famiu Haque
2022-04-11 22:20:24 +06:00
parent 3f2e9298bd
commit b16afe4d55
9 changed files with 87 additions and 12 deletions

View File

@@ -212,10 +212,10 @@ describe('ui/cursor', function()
if m.blinkwait then m.blinkwait = 700 end
end
if m.hl_id then
m.hl_id = 61
m.hl_id = 62
m.attr = {background = Screen.colors.DarkGray}
end
if m.id_lm then m.id_lm = 62 end
if m.id_lm then m.id_lm = 63 end
end
-- Assert the new expectation.