Fix clang.kak, now that eval -draft does not use the client user interface
This commit is contained in:
parent
fd021de7d7
commit
000af8e206
|
@ -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" }
|
||||||
}}
|
}}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user