From d971547cf9339f29d50d977c69ec9d74797cab75 Mon Sep 17 00:00:00 2001 From: amzxyz Date: Fri, 30 Jan 2026 21:11:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=A9=BA=E7=A0=81?= =?UTF-8?q?=E5=9B=9E=E6=BA=AF=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dicts/en.dict.yaml | 4 ++-- lua/super_english.lua | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dicts/en.dict.yaml b/dicts/en.dict.yaml index d23c0b3..2df1ea5 100644 --- a/dicts/en.dict.yaml +++ b/dicts/en.dict.yaml @@ -7250,7 +7250,7 @@ bittorrent bittorrent bitty bitty bitumen bitumen bituminous bituminous -bitwarden bitwarden +Bitwarden Bitwarden bitwise bitwise bivalent bivalent bivalve bivalve @@ -26962,7 +26962,7 @@ gels gels gem gem gemara gemara geminate geminate -Gemini Gemini +gemini gemini Geminid Geminid Gemma Gemma gemmiparous gemmiparous diff --git a/lua/super_english.lua b/lua/super_english.lua index a8953e8..7b6aad7 100644 --- a/lua/super_english.lua +++ b/lua/super_english.lua @@ -368,7 +368,7 @@ function F.func(input, env) local good_cand = restore_sentence_spacing(cand, env.split_pattern, env.delim_check_pattern) local fmt_cand = apply_formatting(good_cand, code_ctx) - -- [恢复] 去除注释中的太极符号 + -- 去除注释中的太极符号 if fmt_cand.comment and find(fmt_cand.comment, "\226\152\175") then local nc = Candidate(fmt_cand.type, fmt_cand.start, fmt_cand._end, fmt_cand.text, "") nc.preedit = fmt_cand.preedit @@ -400,7 +400,7 @@ function F.func(input, env) if not best_candidate_saved and cand.comment ~= "~" and not env.block_derivation then env.memory[curr_input] = { text = fmt_cand.text, - preedit = fmt_cand.preedit or curr_input + preedit = curr_input } best_candidate_saved = true end @@ -421,7 +421,7 @@ function F.func(input, env) if not best_candidate_saved and cand.comment ~= "~" and not env.block_derivation then env.memory[curr_input] = { text = fmt_cand.text, - preedit = fmt_cand.preedit or curr_input + preedit = curr_input } best_candidate_saved = true end