Files
rime-ice/lua/debuger.lua
wrvsrx aa505b7b2d !refactor: Lua 模块引用方式变更 (#1094)
- 删除了 `rime.lua`
- 在方案中引用时添加 `*` 前缀
2024-12-06 00:11:43 +08:00

13 lines
277 B
Lua

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