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

impl embeded candidates #6

Merged
merged 1 commit into from
May 22, 2023
Merged

impl embeded candidates #6

merged 1 commit into from
May 22, 2023

Conversation

lost-melody
Copy link
Collaborator

beta 版變更, 實現了嵌入候選功能, 默認關閉, 通過 Ctrl+Shift+e 切换.

變更項:

  • 新增文件 beta/schema/lua/yuhao/yuhao_embeded_cands.lua, 利用過濾器處理從翻譯器輸入的候選流.
  • 修改 beta/schema/rime.lua, 將 temp 調整爲臨時變量, 並導入 "yuhao.yuhao_embeded_cands".
  • 調整方案文件 beta/schema/yuhao.schema.yaml, beta/schema/yuhao_tradition.schema.yaml, beta/schema/yuhao_tradition_tw.schema.yaml, 添加 lua_filter 與相應的開關及熱鍵.

@@ -0,0 +1,133 @@
-- 将要被返回的過濾器對象
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

将——將

beta/schema/lua/yuhao/yuhao_embeded_cands.lua Show resolved Hide resolved
@forFudan forFudan merged commit 0588051 into forFudan:main May 22, 2023
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

Successfully merging this pull request may close these issues.

2 participants