mirror of
https://github.com/d0zingcat/rime-ice.git
synced 2026-05-14 07:26:45 +00:00
12
lua/debuger.lua
Normal file
12
lua/debuger.lua
Normal 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
|
||||
Reference in New Issue
Block a user