mirror of
https://github.com/iDvel/rime-ice.git
synced 2026-04-25 07:15:51 +00:00
feat: corrector.lua 支持 comment 格式化配置 close #598
This commit is contained in:
@@ -98,6 +98,12 @@ date_translator:
|
||||
lunar: lunar # 癸卯年(兔)冬月廿一 二〇二四年冬月廿一
|
||||
|
||||
|
||||
# Lua 配置:为 corrector 格式化 comment,占位符为 {comment}
|
||||
# 默认 "{comment}" 输入 hun dun 时会在「馄饨」旁边生成 hún tun 的 comment
|
||||
# 例如左右加个括号 "({comment})" 就会变成 (hún tun)
|
||||
corrector: "{comment}"
|
||||
|
||||
|
||||
# Lua 配置: 降低部分英语单词在候选项的位置。
|
||||
# 详细介绍 https://dvel.me/posts/make-rime-en-better/#短单词置顶的问题
|
||||
# 正常情况: 输入 rug 得到 「1.rug 2.如果 …… 」
|
||||
|
||||
Reference in New Issue
Block a user