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

menu/page_size 不生效 #22

Closed
YUX opened this issue Apr 11, 2021 · 3 comments
Closed

menu/page_size 不生效 #22

YUX opened this issue Apr 11, 2021 · 3 comments

Comments

@YUX
Copy link

YUX commented Apr 11, 2021

无论是几都是只有5个候选词

@ssnhd
Copy link
Owner

ssnhd commented Apr 11, 2021

已修复。
方法:打开luna_pinyin_simp.custom.yaml 下拉至底部找到动态时间代码,
将代码 "engine/translators/+": lua_translator@date_translator
修改为 "engine/translators/@6": lua_translator@date_translator

@YUX
Copy link
Author

YUX commented Apr 12, 2021

感谢

@YUX YUX closed this as completed Apr 12, 2021
@DivineRapierH
Copy link

我遇到了同样的问题,使用的版本已经是"engine/translators/@6": lua_translator@date_translator了,但在default.custom.yaml中修改menu/page_size始终不生效,后来在检查build路径下生成的luna_pinyin.schema.yaml中发现了:

menu:
  page_size: 5

于是在luna_pinyin.custom.yaml中添加menu/page_size自定义项,这才终于生效了。
我初次接触 RIME,不是特别了解原理,初步猜测是luna_pinyin.schema.yaml中的menu/page_size选项覆盖了default.yaml中的对应项,但感觉这种覆盖有点违背正常逻辑。

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

3 participants