1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-18 08:51:46 +03:00

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\)/ { /^COMPLETION:/ && ! /\(Hidden\)/ {
gsub(/[[{<]#|#[}>]/, "", $3) gsub(/[[{<]#|#[}>]/, "", $3)
gsub(/#]/, " ", $3) gsub(/#]/, " ", $3)
gsub(/:: /, "::", $3)
gsub(/ +$/, "", $3)
gsub(/:/, "\\:", $2) gsub(/:/, "\\:", $2)
gsub(/:/, "\\:", $3) gsub(/:/, "\\:", $3)
id=substr($2, 1, length($2)-1) id=substr($2, 1, length($2)-1)