Closed zeitchef closed 1 year ago
try this:
local tabnine = require('cmp_tabnine.config')
tabnine:setup({
max_lines = 1000,
max_num_results = 20,
sort = true,
priority = 5000,
show_prediction_strength = true,
run_on_every_keystroke = true,
})
and what is the output of :CmpTabnineHubUrl
?
and do you have the tabnine process running?
Service seems to be running, but when I hit the URL in the browser, it appears some verification needs to happen - but this is not my TabNine account. ???
This is not enough information to help you.
Output of :CmpTabnineHubUrl
is:
But it makes me super suspicious that when opening this URL in the browser it's pointing to another account. Can you explain that please?
How can you tell its another account? Its not apparent from the image above. Anyway, you need to use this page to login into your own account.
I'm already logged into Tabnine Hub:
The screenshot above is a completely different account (with over 1600) notifications - that is not my account.
This could have been an anomaly. I just tested and :CmpTabnineHub
does attach the correct URL as query parameter, but nevertheless the connection fails because it assumes I'm not logged in. When I open the hub directly in the browser, I'm logged in.
I think you are missing something. Opening the hub of you locally running tabnine process enables you to configure it, and set your account info. Did you do this?
Again, I just ran :CmpTabnineHubUrl
and and opened the URL this returned in my browser - this is not my account.
I have no idea what configuration needs to be done - you mention it in the README but this links to a document header, which is not very clear. For the record, I have logged into the Tabnine Hub so I would expect this to just work, unless you can be clearer on what exact configuration needs to be done.
once you open the hub from within nvim, you should be able to login via the top left menu. anyway, this should not stop you from getting completions. maybe you disabled the tabnine source for a specific file type? try giving a minimal working config which recreates the problem.
Just FYI - I got into this issue on my PC with Brave. It works after it turns off the shield. Refer https://gyazo.com/67d6bdedeacbc78c30b34141744a9004.gif
Closing this, as it seems to be related to specific browsers.
I'm fairly certain I've gotten everything configured properly and I'm logged into TabNine, but for some reason
:CmpTabnineHub
does not want to connect.CmpStatus
also lists TabNine as "unused".Here's my relevant config:
Am I overlooking something?