mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-23 23:34:12 +03:00
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)
|
||||
{
|
||||
menu=id
|
||||
gsub(/operator/, "{keyword}operator{}", menu)
|
||||
gsub(/(operator|new|delete)/, "{keyword}&{}", menu)
|
||||
print id "@" completions[id] "@" menu
|
||||
}
|
||||
}' | sort | paste -s -d ':' | sed -e "s/\\\\n/\\n/g; s/'/\\\\'/g")
|
||||
|
Loading…
Reference in New Issue
Block a user