TabNine Completion for ddc.vim
This source collects candidates from TabNine.
call ddc#custom#patch_global('sources', ['tabnine'])
call ddc#custom#patch_global('sourceOptions', {
\ 'tabnine': {
\ 'mark': 'TN',
\ 'maxCandidates': 5,
\ 'isVolatile': v:true,
\ }})
You can trigger the
special commands to configure
your TabNine like TabNine::config
in any buffer.
(Optional) To configure your purchased API key, use TabNine::config
or
:exe 'e' ddc_tabnine#config_dir() . '/tabnine_config.json'
.