!refactor: Lua 模块引用方式变更 (#1094)

- 删除了 `rime.lua`
- 在方案中引用时添加 `*` 前缀
This commit is contained in:
wrvsrx
2024-12-06 00:11:43 +08:00
committed by GitHub
parent ed191350b2
commit aa505b7b2d
28 changed files with 219 additions and 260 deletions

View File

@@ -3,6 +3,8 @@
示例:「给予」的正确读音是 ji yu当用户输入 gei yu 时,在候选项的 comment 显示正确读音
示例:「按耐」的正确写法是「按捺」,当用户输入「按耐」时,在候选项的 comment 显示正确写法
关闭此 Lua 时,同时需要关闭 translator/spelling_hints否则 comment 里都是拼音
为了让这个 Lua 同时适配全拼与双拼,使用 `spelling_hints` 生成的 comment全拼拼音作为通用的判断条件。
感谢大佬@[Shewer Lu](https://github.com/shewer)提供的思路。