From 6c5fded3234897a5597fe8e73554f15ebfb82dd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Sat, 27 Aug 2022 18:48:28 +0200 Subject: [PATCH] fixme: filter queries from const --- fixme.yaml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/fixme.yaml b/fixme.yaml index 4ecdee5..aeb8a27 100644 --- a/fixme.yaml +++ b/fixme.yaml @@ -55,19 +55,13 @@ filter: show_default: true type: select values: | - - - - - - - - + {% for k, d in const %} + + {% endfor %} const: - default: - color: '#f2756a' name: match: 'name' + query: '(nwr[~"fixme:name"~".",i];nwr[~"fixme(:.*|)"~"name",i];)' color: '#00b6a9' incomplete: match: '(continue|incomplete|unfinished)' @@ -77,9 +71,11 @@ const: color: '#71ab43' addr: match: 'addr' + query: '(nwr["fixme:addr"];nwr[fixme~"addr",i];)' color: '#0070b6' maxspeed: match: 'maxspeed' + query: '(nwr["fixme:maxspeed"];nwr[fixme~"maxspeed",i];)' color: '#a36af2' resurvey: match: 're-?survey'