From 655bde52896b4d6995d0c1b349a7f34d0bb221b1 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Sat, 30 Jul 2022 09:17:52 +0100 Subject: Add option to colour matching portion of results. This was done by breaking the selected result into three parts, and rendering each separately. A side-effect is that ligatures split when a match ends inside them, but I think that's the correct behaviour (rather than highlighting the whole ligature). There may be issues with some non-latin languages that make much more extensive use of ligatures / combining characters, however. --- doc/config | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/config') diff --git a/doc/config b/doc/config index eb360e4..454f275 100644 --- a/doc/config +++ b/doc/config @@ -42,6 +42,9 @@ # Selection text selection-color = #F92672 + # Matching portion of selection text + selection-match-color = #00000000 + # Selection background selection-background = #00000000 -- cgit v1.2.3