Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[suggest] Support asynchronous #5

Open
MaiLunJiye opened this issue Jan 20, 2018 · 8 comments
Open

[suggest] Support asynchronous #5

MaiLunJiye opened this issue Jan 20, 2018 · 8 comments

Comments

@MaiLunJiye
Copy link

当网络不好的时候总会阻塞,影响输入体验,希望可以使用异步

@voldikss
Copy link

附议

@zhangxuhong1024
Copy link

附议+1

@iamcco
Copy link
Owner

iamcco commented Feb 19, 2019

有道的 api 我已经用不了好久了,翻译接口一直返回异常,所以异步应该是不会有了

@voldikss
Copy link

@iamcco
想问下大佬,有没有增加 floating window 特性的想法呢 :neckbeard:

@iamcco
Copy link
Owner

iamcco commented Mar 27, 2019

@voldikss 这个有道 api 已经废了,这个插件不会更新了,其实插件代码没多少可以自己改改

@voldikss
Copy link

@iamcco 好的。读了下 floating window 的文档,我本来想自己改的,看了一下Dict的实现是在 Vim 里面掉 Python,然后又在Python 里面调Vim,操作有点蛇皮哈哈。

不过我发现我对Vim的各种 api 很不熟悉所以问你的意见,等我慢慢熟悉.....

顺便,您的插件我用着一直很顺畅,接口没有返回过异常。

@iamcco
Copy link
Owner

iamcco commented Mar 27, 2019

@voldikss

python 那部分我是边翻教程边写的,所以代码很烂,有什么看不懂的可以问我。vim 的 api 我也是不熟悉,有时候都是边写边翻文档,不过 vim 的文档很全,所以写着写着你就熟悉了。

不知道什么原因,18年这个接口就经常返回异常,然后之后就一直没正常过,不知道什么情况。

@voldikss
Copy link

嗯好的,感谢大佬!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants