Fix clang autocompletion
This commit is contained in:
parent
13ce49009d
commit
5c05c88342
|
@ -55,7 +55,7 @@ def clang-complete %{
|
||||||
def clang-enable-autocomplete %{
|
def clang-enable-autocomplete %{
|
||||||
set window completers %sh{ echo "'option=clang_completions:${kak_opt_completers}'" }
|
set window completers %sh{ echo "'option=clang_completions:${kak_opt_completers}'" }
|
||||||
hook window -group clang-autocomplete InsertIdle .* %{ try %{
|
hook window -group clang-autocomplete InsertIdle .* %{ try %{
|
||||||
exec -draft <a-h><a-k>(\.|->|::).$<ret>
|
exec -draft <a-h><a-k>(\.|->|::).\'<ret>
|
||||||
echo 'completing...'
|
echo 'completing...'
|
||||||
clang-complete
|
clang-complete
|
||||||
} }
|
} }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user