tzachar / cmp-tabnine

TabNine plugin for hrsh7th/nvim-cmp
MIT License
286 stars 28 forks source link

Eliminate items with a percentage less than min_percent. #102

Closed xiantang closed 9 months ago

xiantang commented 1 year ago

In Tabnine, the percentage represents the accuracy level. For me, I always expect the returned suggestions from Tabnine to have an accuracy level higher than 30%. Therefore, in this pull request, I have introduced the "min_percent" parameter, which will filter out suggestions with an accuracy level lower than min_percent and keep the rest

xiantang commented 1 year ago

@tzachar PTAL