From d8f49b6facacac2aaaf02f8f920ccb93ed77a925 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 11 Nov 2014 13:55:26 +0000 Subject: [PATCH] Tweak clang completion docstring format --- rc/clang.kak | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rc/clang.kak b/rc/clang.kak index b2c9c220..79250771 100644 --- a/rc/clang.kak +++ b/rc/clang.kak @@ -36,6 +36,8 @@ def clang-complete %{ /^COMPLETION:/ && ! /\(Hidden\)/ { gsub(/[[{<]#|#[}>]/, "", $3) gsub(/#]/, " ", $3) + gsub(/:: /, "::", $3) + gsub(/ +$/, "", $3) gsub(/:/, "\\:", $2) gsub(/:/, "\\:", $3) id=substr($2, 1, length($2)-1)