Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/LumaKernel/ddc-tabnine
TabNine Completion for ddc.vim. This source collects candidates from TabNine.
https://github.com/LumaKernel/ddc-tabnine
ddc-source ddc-vim tabnine
Last synced: 4 days ago
JSON representation
TabNine Completion for ddc.vim. This source collects candidates from TabNine.
- Host: GitHub
- URL: https://github.com/LumaKernel/ddc-tabnine
- Owner: LumaKernel
- License: mit
- Created: 2021-09-08T17:08:20.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-15T13:04:07.000Z (10 months ago)
- Last Synced: 2024-08-01T17:40:08.233Z (3 months ago)
- Topics: ddc-source, ddc-vim, tabnine
- Language: TypeScript
- Homepage:
- Size: 46.9 KB
- Stars: 23
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ddc-tabnine
[![Doc](https://img.shields.io/badge/doc-%3Ah%20ddc--tabnine-orange.svg?style=flat-square)](doc/ddc-tabnine.txt)
[TabNine](https://www.tabnine.com) Completion for ddc.vim
This source collects candidates from [TabNine](https://www.tabnine.com).
## Required
- [denops.vim](https://github.com/vim-denops/denops.vim)
- [ddc.vim](https://github.com/Shougo/ddc.vim)## Configuration
```vim
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](https://www.tabnine.com/faq#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
- https://www.tabnine.com
- https://github.com/codota/TabNine/blob/master/HowToWriteAClient.md
- https://github.com/Shougo/ddc.vim
- https://github.com/neoclide/coc-tabnine
- https://github.com/tbodt/deoplete-tabnine