Set up rime-frost basic configuration
This commit is contained in:
11
lua/cold_word_drop/debug_checker.lua
Normal file
11
lua/cold_word_drop/debug_checker.lua
Normal file
@@ -0,0 +1,11 @@
|
||||
-- 临时用的
|
||||
function debug_checker(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
|
||||
Reference in New Issue
Block a user