mirror of
https://github.com/iDvel/rime-ice.git
synced 2026-04-25 03:24:41 +00:00
feat: corrector.lua 不处理反查的 comment
This commit is contained in:
@@ -65,6 +65,8 @@ local function corrector(input)
|
||||
local c = corrections[cand.comment]
|
||||
if c and cand.text == c.text then
|
||||
cand:get_genuine().comment = c.comment
|
||||
elseif cand.type == "reverse_lookup" then
|
||||
-- 不处理反查的 comment
|
||||
else
|
||||
cand:get_genuine().comment = ""
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user