clang.kak: Highlight new and delete in completions
This commit is contained in:
parent
5e4443812c
commit
2c178f86cf
|
@ -61,7 +61,7 @@ def -shell-params clang-parse -docstring "Parse the contents of the current buff
|
||||||
for (id in completions)
|
for (id in completions)
|
||||||
{
|
{
|
||||||
menu=id
|
menu=id
|
||||||
gsub(/operator/, "{keyword}operator{}", menu)
|
gsub(/(operator|new|delete)/, "{keyword}&{}", menu)
|
||||||
print id "@" completions[id] "@" menu
|
print id "@" completions[id] "@" menu
|
||||||
}
|
}
|
||||||
}' | sort | paste -s -d ':' | sed -e "s/\\\\n/\\n/g; s/'/\\\\'/g")
|
}' | sort | paste -s -d ':' | sed -e "s/\\\\n/\\n/g; s/'/\\\\'/g")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user