Skip to content

tbodt/deoplete-tabnine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deoplete-tabnine

Overview

A Deoplete source for TabNine.

Installation

To install it with vim-plug, first install Deoplete, then add this to your vimrc:

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

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

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)

call deoplete#custom#var('tabnine', {
\ 'line_limit': 500,
\ 'max_num_results': 20,
\ })

About

Deoplete source for TabNine

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published