feat: uuid.lua 生成符合RFC 4122标准的UUID v4 (#1383)

This commit is contained in:
WantChane
2025-10-31 15:59:04 +00:00
committed by GitHub
parent 69c1b294c5
commit 49fb60f2d5
9 changed files with 87 additions and 1 deletions

View File

@@ -73,6 +73,7 @@ engine:
- script_translator
- lua_translator@*date_translator # 时间、日期、星期
- lua_translator@*lunar # 农历
- lua_translator@*uuid # UUID
- table_translator@custom_phrase # 自定义短语 custom_phrase_double.txt
- table_translator@melt_eng # 英文输入
- table_translator@cn_en # 中英混合词汇
@@ -106,6 +107,10 @@ date_translator:
lunar: lunar # 农历: 二〇二三年冬月二十 癸卯年(兔)冬月二十
# Lua 配置: 生成 UUID 的触发关键字
uuid: uuid
# Lua 配置: 降低部分英语单词在候选项的位置。
# 详细介绍 https://dvel.me/posts/make-rime-en-better/#短单词置顶的问题
# 正常情况: 输入 rug 得到 「1.rug 2.如果 …… 」