LumaKernel / ddc-tabnine

TabNine Completion for ddc.vim. This source collects candidates from TabNine.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

TabNine Completion for ddc.vim. This source collects candidates from TabNine.

License:MIT License


Languages

Language:TypeScript 90.8%Language:Vim Script 9.2%