-
Notifications
You must be signed in to change notification settings - Fork 678
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
如何在中英文混合输入时,自动个英文前后加入空格。 #327
Comments
我写了一个 lua 脚本, 大家可以参考一下
|
判断中、英、数字再添加空格太复杂了,也确实有很多情况是不需要空格的。 |
求教,这个lua脚本怎么移植到五笔的配置当中呢? |
直接用就行了,只看候选项的格式,不分拼音五笔。 |
大佬,这个文件是怎么用的啊?我把这个文件扔进了/lua 文件夹里,然后在 rime_ice.custom.yaml 里添加了
重新部署后中英文输入都没有候选框了- -,是不是还有别的配置?是的话就算了,不会搞。 |
@frankilla1987 , 需要添加以下配置: # 注释下行, 以取消中英混合的候选词条里自动添加的空格
'engine/filters/@before last': lua_filter@*word_append_space*filter
# 注释下行, 以取消中英混合输出上屏时自动添加的前导空格
'engine/processors/@after 1': lua_processor@*word_append_space*processor Note:上面的配置,是 Lua 扩展滤镜的新写法,与雾凇传统写法不一样,你需要适当调整 |
再加上boomker/rime-fast-xhup#33 (comment) 你的这个回复,还是没搞定。算了~😭感谢大佬回复! |
如何在中英文混合输入时,自动给英文前后加入空格。
Originally posted by @BenjaminX in #133 (comment)
The text was updated successfully, but these errors were encountered: