cmp-tabnine icon indicating copy to clipboard operation
cmp-tabnine copied to clipboard

Stop tabnine with a command?

Open lordvidex opened this issue 2 years ago • 1 comments

Why?

I have recorded high memory usage while using tabnine with neovim and would like to stop it during some programming sessions.

Current Hack

The only way to currently do this is to comment out the tabnine setup function, so that tabnine doesn't get loaded as a plugin in nvim. But, this is very stressful and will require a full restart of the neovim session.

Fix?

It will be a very good feature addition if tabnine can be stopped with a command, so that only the LSP source can be used.

lordvidex avatar Jul 11 '23 16:07 lordvidex

Right now, the plugin implements an automatic restart policy for the tabnine process. Any implementation would need to take that into account. If you are willing to implement it, I would accept such a PR. Make sure to include both a Stop and a Start command.

Cheers

tzachar avatar Jul 25 '23 08:07 tzachar