Open kitagry opened 3 years ago
asyncomplete.vim
has an option triggers
.
And, TabNine::config
works as following.
function! asyncomplete#sources#tabnine#get_source_options(opts)
call s:start_tabnine()
let a:opts['triggers'] = {'*': [':', '>', '.', 'g']}
return a:opts
endfunction
This solution has two problems.
g
is typed, complete command will be called.TabNine::*
options doesn't work.asyncomplete.vim
should be changed to solve this PR.
This plugin doesn't work when
TabNine::config
is typed. This is becauseasyncomplete.vim
callcomplete
command only when specified characters such as.
and:
so on are typed.https://www.tabnine.com/semantic
For example, deoplete-tabnine specified as following.
But, I don't understand how to specify
input_pattern
in asyncomplete.vim. And, I'm busy now. So, I can't solve this issue until October.I welcome PR.