doc.kak: Fix anchor name completion

This commit is contained in:
Maxime Coste 2017-12-29 09:37:04 +11:00
parent 9b83589b18
commit 4740dbf9fa

View File

@ -130,7 +130,7 @@ define-command -params 1..2 \
awk '
/^==+ +/ { sub(/^==+ +/, ""); print }
/^\[\[[^\]]+\]\]/ { sub(/^\[\[/, ""); sub(/\]\].*/, ""); print }
' < $page
' < $page | tr '[A-Z ]' '[a-z-]'
fi
fi
} \