From 4740dbf9fa19682c7b2e32b7449ebf4416054310 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Fri, 29 Dec 2017 09:37:04 +1100 Subject: [PATCH] doc.kak: Fix anchor name completion --- rc/core/doc.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/core/doc.kak b/rc/core/doc.kak index 059fb02a..b6a21671 100644 --- a/rc/core/doc.kak +++ b/rc/core/doc.kak @@ -130,7 +130,7 @@ define-command -params 1..2 \ awk ' /^==+ +/ { sub(/^==+ +/, ""); print } /^\[\[[^\]]+\]\]/ { sub(/^\[\[/, ""); sub(/\]\].*/, ""); print } - ' < $page + ' < $page | tr '[A-Z ]' '[a-z-]' fi fi } \