tzachar / cmp-tabnine

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

More robust binary file path #4

Closed mayanksuman closed 3 years ago

mayanksuman commented 3 years ago

In some of the configuration <sfile> will point to calling script not the current script. In those cases, binary files are searched at wrong path.

This commit fixes the behaviour. The binary file paths are obtained from the path of this script not the calling script.