tzachar / compe-tabnine

TabNine source for hrsh7th/nvim-compe
BSD 3-Clause "New" or "Revised" License
52 stars 3 forks source link

Could you add a matching items of settings ? #3

Closed PHSix closed 3 years ago

PHSix commented 3 years ago

I found that in this plugin you set the number of matching items to 20, but when I use tabnine, I don't need so many matching items, because it affects me to select the LSP completions.

tzachar commented 3 years ago

Check d717a95 you can now configure it via :

let g:compe.source.tabnine = {}                                                                                                                                               
let g:compe.source.tabnine.max_line = 1000                                                                                                                                    
let g:compe.source.tabnine.max_num_results = 6              
PHSix commented 3 years ago

Check d717a95 you can now configure it via :

let g:compe.source.tabnine = {}                                                                                                                                               
let g:compe.source.tabnine.max_line = 1000                                                                                                                                    
let g:compe.source.tabnine.max_num_results = 6              

ok. Thanks!