Fix clang.kak, now that eval -draft does not use the client user interface

This commit is contained in:
Maxime Coste 2013-09-12 23:52:43 +02:00
parent fd021de7d7
commit 000af8e206

View File

@ -31,7 +31,7 @@ def clang-complete %{
def clang-enable-autocomplete %{ def clang-enable-autocomplete %{
hook window -id clang-autocomplete InsertIdle .* %{ eval -draft %{ hook window -id clang-autocomplete InsertIdle .* %{ eval -draft %{
exec <a-h> exec <a-h>
%sh{ [[ $kak_selection =~ .*(\.|->|::).$ ]] && echo "exec <a-space>; echo 'completing...'; clang-complete" } %sh{ [[ $kak_selection =~ .*(\.|->|::).$ ]] && echo "exec <a-space>; eval -client $kak_client echo 'completing...'; clang-complete" }
}} }}
} }