Tweak clang completion docstring format

This commit is contained in:
Maxime Coste 2014-11-11 13:55:26 +00:00
parent e8b0a98a78
commit d8f49b6fac

View File

@ -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)