clang.kak: clear remaining commas in template argument lists

This commit is contained in:
Maxime Coste 2014-03-29 09:11:09 +00:00
parent 0fe9683c0f
commit 7dc5588adc

View File

@ -31,7 +31,7 @@ def clang-complete %{
/^COMPLETION:[^:]+:/ {
gsub("^COMPLETION:[^:]+: +", ""); gsub(":", "\\:")
c = rmblocks("\\[#", "#\\]", rmblocks("<#", "#>", rmblocks("\\{#", "#\\}", $0)))
gsub("\\((, )+\\)", "(", c)
gsub("\\((, )+\\)", "(", c); gsub("<(, )+>", "<", c)
out = out ":" c
}
END {