https://github.com/tbodt/deoplete-tabnine
Deoplete source for TabNine
https://github.com/tbodt/deoplete-tabnine
deoplete-source
Last synced: about 1 year ago
JSON representation
Deoplete source for TabNine
- Host: GitHub
- URL: https://github.com/tbodt/deoplete-tabnine
- Owner: tbodt
- Created: 2018-11-07T00:03:36.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-08-06T13:47:14.000Z (almost 3 years ago)
- Last Synced: 2025-03-31T16:14:22.060Z (about 1 year ago)
- Topics: deoplete-source
- Language: Python
- Homepage:
- Size: 62.5 KB
- Stars: 257
- Watchers: 6
- Forks: 16
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# deoplete-tabnine
## Overview
A [Deoplete][] source for [TabNine][].
## Installation
To install it with vim-plug, first install Deoplete, then add this to your vimrc:
```vim
if has('win32') || has('win64')
Plug 'tbodt/deoplete-tabnine', { 'do': 'powershell.exe .\install.ps1' }
else
Plug 'tbodt/deoplete-tabnine', { 'do': './install.sh' }
endif
```
For [dein.vim](https://github.com/Shougo/dein.vim)
```vim
if has('win32') || has('win64')
call dein#add('tbodt/deoplete-tabnine', { 'build': 'powershell.exe .\install.ps1' })
else
call dein#add('tbodt/deoplete-tabnine', { 'build': './install.sh' })
endif
```
[Deoplete]: https://github.com/Shougo/deoplete.nvim/
[TabNine]: https://tabnine.com
## Configuration
### `line_limit`
The number of lines before and after the cursor to send to TabNine. If the
option is smaller, the performance may be improved. (default: 1000)
### `max_num_results`
Max results from TabNine.
(default: 10)
```vim
call deoplete#custom#var('tabnine', {
\ 'line_limit': 500,
\ 'max_num_results': 20,
\ })
```