1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-23 15:23:29 +03:00

Fix clang autocompletion

This commit is contained in:
Maxime Coste 2014-10-30 00:50:09 +00:00
parent 13ce49009d
commit 5c05c88342

View File

@ -55,7 +55,7 @@ def clang-complete %{
def clang-enable-autocomplete %{
set window completers %sh{ echo "'option=clang_completions:${kak_opt_completers}'" }
hook window -group clang-autocomplete InsertIdle .* %{ try %{
exec -draft <a-h><a-k>(\.|->|::).$<ret>
exec -draft <a-h><a-k>(\.|->|::).\'<ret>
echo 'completing...'
clang-complete
} }