Closed hissssst closed 5 years ago
Not a problem with the vim plugin, open an issue at https://github.com/zxqfl/TabNine.
Actually, you could share the TabNine
between the vim instances without spawning it for every vim instance.
You may reopen the issue, so I may write a pr
I don't think TabNine is designed to allow sharing between editor instances. How do you plan to do it?
@tbodt . I thought about it via piping TabNine
's stdin/stdout
to some files somewhere in /tmp
.
You can't type into two different nvim instances simultaneously, so it is possible to time-track different answers to different requests.
This implementation has some problems like suggestions from one editor will be shown in the other editor, but i think it's ok, because the same thing happens when switching between different splits in one instance
It is possible for two people to type in two nvim instances simultaneously, which is less OK. You should request multi-user support from upstream first.
@tbodt Okay, you're right. I'll ask tabnine for support
Four nvim instances kill my memory. It used to be fine One instance uses twice as much as 10 firefox tabs usage