From 4b6659a33a4bddd4ba280ef269438e6b9ccb9965 Mon Sep 17 00:00:00 2001 From: Dvel Date: Mon, 7 Aug 2023 20:50:30 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20corrector.lua=20=E4=B8=8D=E5=A4=84?= =?UTF-8?q?=E7=90=86=20Unicode=20=E7=9A=84=20comment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/corrector.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/corrector.lua b/lua/corrector.lua index 957f2e5..2b1bd6d 100644 --- a/lua/corrector.lua +++ b/lua/corrector.lua @@ -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