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

求助:候选栏的内容都有拼音,怎么去掉呢? #610

Closed
cnaron opened this issue Jan 9, 2024 · 3 comments
Closed

求助:候选栏的内容都有拼音,怎么去掉呢? #610

cnaron opened this issue Jan 9, 2024 · 3 comments

Comments

@cnaron
Copy link

cnaron commented Jan 9, 2024

image 不知道按了什么,导致现在这样的情况。想问下怎么在设置中去掉?谢谢
@iDvel
Copy link
Owner

iDvel commented Jan 9, 2024

默认是通过这两行代码,将拼音显示在 comment 中的:

translator:
  spelling_hints: 8           # corrector.lua :为了让错音错字提示的 Lua 同时适配全拼双拼,将拼音显示在 comment 中
  always_show_comments: true  # corrector.lua :Rime 默认在 preedit 等于 comment 时取消显示 comment,这里强制一直显示,供 corrector.lua 做判断用。

然后再通过 corrector.lua 判断,非错音错字则清空 comment。

你这样有没有可能是 Linux 下没有 librime-lua?同 #431 (comment) #464 (comment)
或者你禁用了 corrector.lua,如果是这样,还需要同时删除掉 spelling_hints

@cnaron
Copy link
Author

cnaron commented Jan 12, 2024

现在发现在搜索框就是好的(比如Google搜索),但是在含有文本程序的(比如Rider)就是有拼音。不知道怎么解决了。

@cnaron
Copy link
Author

cnaron commented Jan 13, 2024

重启之后发现都好了😁

@cnaron cnaron closed this as completed Jan 13, 2024
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

2 participants