JuanZoran / Trans.nvim

An awesome neovim plugin written by lua which can help translate English into Chinese 一个使用lua编写的neovim英文->中文[离线 || 在线]翻译插件, 还在施工中
MIT License
125 stars 13 forks source link

希望增加 长句翻译 #27

Closed allinu closed 1 year ago

allinu commented 1 year ago

目前只能单词翻译,希望能增加多句翻译功能。 感谢 【btw 动画精美】

JuanZoran commented 1 year ago

其实是加了百度在线翻译的,添加 require 'Trans'.setup{ engine = { baidu ={ appid= your id, appPasswd= your passwd, } } } 最近在重构这个插件,所以这个是实验性的,可能名字不对,具体可以看lua/Trans/query/baidu.lua

JuanZoran commented 1 year ago

所有的功能建议都是欢迎的,会出一个代办事项,有空就会添加功能,目前正在重构插件的结构😋

allinu commented 1 year ago

@JuanZoran 好的,感谢 ❤️