clang.kak: clear remaining commas in template argument lists
This commit is contained in:
parent
0fe9683c0f
commit
7dc5588adc
|
@ -31,7 +31,7 @@ def clang-complete %{
|
||||||
/^COMPLETION:[^:]+:/ {
|
/^COMPLETION:[^:]+:/ {
|
||||||
gsub("^COMPLETION:[^:]+: +", ""); gsub(":", "\\:")
|
gsub("^COMPLETION:[^:]+: +", ""); gsub(":", "\\:")
|
||||||
c = rmblocks("\\[#", "#\\]", rmblocks("<#", "#>", rmblocks("\\{#", "#\\}", $0)))
|
c = rmblocks("\\[#", "#\\]", rmblocks("<#", "#>", rmblocks("\\{#", "#\\}", $0)))
|
||||||
gsub("\\((, )+\\)", "(", c)
|
gsub("\\((, )+\\)", "(", c); gsub("<(, )+>", "<", c)
|
||||||
out = out ":" c
|
out = out ":" c
|
||||||
}
|
}
|
||||||
END {
|
END {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user