Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.13 KB

README.md

File metadata and controls

41 lines (29 loc) · 1.13 KB

ddc-tabnine

Doc

TabNine Completion for ddc.vim

This source collects candidates from TabNine.

Required

Configuration

call ddc#custom#patch_global('sources', ['tabnine'])
call ddc#custom#patch_global('sourceOptions', {
    \ 'tabnine': {
    \   'mark': 'TN',
    \   'maxCandidates': 5,
    \   'isVolatile': v:true,
    \ }})

Special Commands

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'.

Credits