pandysong / ghost-text.vim

support for ghost-text in regular vim
MIT License
34 stars 4 forks source link

“fail to start tcp svr on localhost:4001” when calling :GhostTextStart #9

Open sideshowbarker opened 1 year ago

sideshowbarker commented 1 year ago

Calling :GhostTextStart fails with “fail to start tcp svr on localhost:4001”

I tried hacking in some simple debugging to catch the exception message, and I what I got was this:

BaseEventLoop.create_server() got an unexpected keyword argument 'loop'

I guess this is due to the asyncio loop parameters having been removed in in Python 3.10?

sideshowbarker commented 1 year ago

I’ve opened PR #10 with a patch that fixes this problem.