summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-08-25 08:43:40 +0200
committerDave Davenport <qball@gmpclient.org>2016-08-25 21:17:58 +0200
commit20e55e1e4e7a084e2e86c16e5b3f0497a14773a4 (patch)
treee3a45cbbbf93135bcafbdced2878bac0282d2fe6 /config
parenta657f81145465df1d8a75bedb1b56a0e99d541e0 (diff)
Add fuzzy matching, make a -matching option.
* -matching *method* option instead of -regex, -glob, -fuzzy. * Re-add fuzzy matching pattern. * When there are substrings in regex, only highlight those matches. Fixes: #447
Diffstat (limited to 'config')
-rw-r--r--config/config.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/config/config.c b/config/config.c
index 1a9da3b0..b7b76f31 100644
--- a/config/config.c
+++ b/config/config.c
@@ -107,10 +107,10 @@ Settings config = {
/** Parse ~/.ssh/known_hosts file in ssh view. */
.parse_known_hosts = TRUE,
/** Modi to combine into one view. */
- .combi_modi = "window,run",
- .glob = FALSE,
- .tokenize = TRUE,
- .regex = FALSE,
+ .combi_modi = "window,run",
+ .tokenize = TRUE,
+ .matching = "normal",
+ .matching_method = MM_NORMAL,
/** Monitor */
.monitor = "-5",
/** set line margin */