mirror of
https://github.com/iDvel/rime-ice.git
synced 2026-05-14 00:30:37 +08:00
chore: lua 加上缺失的 local
This commit is contained in:
@@ -7,7 +7,7 @@ local function add_space_to_english_word(input)
|
||||
end
|
||||
|
||||
-- 在候选项上屏时触发的函数
|
||||
function en_spacer(input, env)
|
||||
local function en_spacer(input, env)
|
||||
for cand in input:iter() do
|
||||
if cand.text:match("^[%a']+[%a']*$") then
|
||||
-- 如果候选项是纯英文单词,则在输入后添加一个空格
|
||||
|
||||
Reference in New Issue
Block a user