feat: corrector.lua 不处理 Unicode 的 comment

This commit is contained in:
Dvel 2023-08-07 20:50:30 +08:00
parent 20c90d1ee1
commit 4b6659a33a

View File

@ -65,8 +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
elseif cand.type == "reverse_lookup" or cand.type == "unicode" then
-- 不处理反查和 Unicode 的 comment
else
cand:get_genuine().comment = ""
end