Closed jasmith79 closed 2 years ago
what is the output of uname -m
on your laptop?
x86_64, which is why I don't understand why the fn.system
call seems to be returning an empty string. I guess the arch .. '-apple-darwin'
line could be changed to just 'x86_64-apple-darwin'
the way the code does for the new ARM macs. Last macs that didn't have 64bit chips came out over a decade ago (and the PowerPC models even longer), I don't know how much legacy support this project aims at providing.
Intel MacBook Air 2020 running Big Sur Neovim 0.7.0 nvim-cmp cmp-tabnine
Attempting to run the plugin (installed with vim plug) I got the following error:
Tracing out the file path to see if maybe it was just an issue of not having the executable bit set, I realized the path to the binary was missing the platform architecture, i.e. should be
$HOME/.vim/plugged/cmp-tabnine/binaries/4.4.21/x86_64-apple-darwin/TabNine
but thex86_64
was missing. I was able to "fix" the problem by hardcoding it insource.lua
and now everything seems to work ok but I'm afraid I don't know lua or how it interfaces with the OS well enough to submit a fix.