!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

12
lua/debuger.lua Normal file
View File

@@ -0,0 +1,12 @@
local function debuger(input, env)
for cand in input:iter() do
yield(ShadowCandidate(
cand,
cand.type,
cand.text,
env.engine.context.input .. " - " .. env.engine.context:get_preedit().text .. " - " .. cand.preedit
))
end
end
return debuger