From b4bbce4af5593486ce322bfaa55ef83f75a8b7a6 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Wed, 30 Sep 2020 21:56:37 +0200 Subject: [Helper] Add -normalize-match option. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Decomposes string and remove accent characters before matching. This makes o match ö, é match e and more. It is not a perfect implementation but works. Currently disables the match highlighting. Fixes: #1119 --- config/config.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/config.c b/config/config.c index 05723e5a..111ec742 100644 --- a/config/config.c +++ b/config/config.c @@ -170,5 +170,8 @@ Settings config = { .drun_reload_desktop_cache = FALSE, /** Benchmarks */ - .benchmark_ui = FALSE + .benchmark_ui = FALSE, + + /** normalize match */ + .normalize_match = FALSE }; -- cgit v1.2.3