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