diff --git a/src/rc/clang.kak b/src/rc/clang.kak index 22571b25..70e8b6dc 100644 --- a/src/rc/clang.kak +++ b/src/rc/clang.kak @@ -31,7 +31,7 @@ def clang-complete %{ def clang-enable-autocomplete %{ hook window -id clang-autocomplete InsertIdle .* %{ eval -draft %{ exec - %sh{ [[ $kak_selection =~ .*(\.|->|::).$ ]] && echo "exec ; echo 'completing...'; clang-complete" } + %sh{ [[ $kak_selection =~ .*(\.|->|::).$ ]] && echo "exec ; eval -client $kak_client echo 'completing...'; clang-complete" } }} }