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

请问 comment 能放入 switches 吗? #13

Closed
lyserenity opened this issue Jun 24, 2019 · 1 comment
Closed

请问 comment 能放入 switches 吗? #13

lyserenity opened this issue Jun 24, 2019 · 1 comment

Comments

@lyserenity
Copy link

lyserenity commented Jun 24, 2019

例如像 sample/charset.lua 中的 charset_comment_filter,能放入 switches 切换,选择要不要显示字符集吗?如果可以的话,应该怎么写?

switches:
  - name: ascii_mode
    reset: 0
    states: [ 中文, 西文 ]
@lyserenity
Copy link
Author

lyserenity commented Jun 25, 2019

我在 rime/librime#248 找到解决办法了,感谢

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

1 participant