From 51dab20aef9a588ed027eb07d17cee0eaf4c132c Mon Sep 17 00:00:00 2001 From: Chris Webb Date: Wed, 13 Dec 2023 17:12:59 +0000 Subject: [PATCH] Fix escaping in the scheme.kak highlighter awk script The awk-generated highlighters in scheme.kak need '\\.' to obtain '\.' in the generated kakscript output. Fix the inf/nan rule (which should generate '(?:inf|nan)\.0') to read '(?:inf|nan)\\.0' in the awk. --- rc/filetype/scheme.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/filetype/scheme.kak b/rc/filetype/scheme.kak index 6c646279..5e2e97cc 100644 --- a/rc/filetype/scheme.kak +++ b/rc/filetype/scheme.kak @@ -162,7 +162,7 @@ evaluate-commands %sh{ exec awk -f - <<'EOF' # unprefixed decimals add_highlighter("(?