Skip to content

Commit

Permalink
conf: 开关除了 emoji 外不默认设定 reset
Browse files Browse the repository at this point in the history
  • Loading branch information
iDvel committed Jan 29, 2024
1 parent 5c21df5 commit d3762b2
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 37 deletions.
3 changes: 2 additions & 1 deletion default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


# 要比共享目录的同名文件的 config_version 大才可以生效
config_version: '2023-09-25'
config_version: '2024-01-29'


# 方案列表
Expand Down Expand Up @@ -40,6 +40,7 @@ switcher:
- traditionalization
- emoji
- full_shape
- single_char
fold_options: true # 呼出时是否折叠,多方案时建议折叠 true ,一个方案建议展开 false
abbreviate_options: true # 折叠时是否缩写选项
option_list_separator: ' / ' # 折叠时的选项分隔符
Expand Down
6 changes: 1 addition & 5 deletions double_pinyin.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,18 @@ schema:
switches:
- name: ascii_mode
states: [ 中, A ]
reset: 0
- name: ascii_punct # 中英标点
states: [ ¥, $ ]
reset: 0
- name: traditionalization
states: [ 简, 繁 ]
reset: 0
- name: emoji
states: [ 💀, 😄 ]
reset: 1
- name: full_shape
states: [ 半角, 全角 ]
reset: 0
- name: single_char # search.lua 的功能开关,辅码查词时是否单字优先
abbrev: [词, 单]
states: [正常, 单字]
# reset: 0


# 输入引擎
Expand Down Expand Up @@ -219,6 +214,7 @@ custom_phrase:
emoji:
option_name: emoji
opencc_config: emoji.json
inherit_comment: false # 在 corrector.lua 及反查中,emoji 返回空注释


# 简繁切换
Expand Down
6 changes: 1 addition & 5 deletions double_pinyin_abc.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,18 @@ schema:
switches:
- name: ascii_mode
states: [ 中, A ]
reset: 0
- name: ascii_punct # 中英标点
states: [ ¥, $ ]
reset: 0
- name: traditionalization
states: [ 简, 繁 ]
reset: 0
- name: emoji
states: [ 💀, 😄 ]
reset: 1
- name: full_shape
states: [ 半角, 全角 ]
reset: 0
- name: single_char # search.lua 的功能开关,辅码查词时是否单字优先
abbrev: [词, 单]
states: [正常, 单字]
# reset: 0


# 输入引擎
Expand Down Expand Up @@ -222,6 +217,7 @@ custom_phrase:
emoji:
option_name: emoji
opencc_config: emoji.json
inherit_comment: false # 在 corrector.lua 及反查中,emoji 返回空注释


# 简繁切换
Expand Down
6 changes: 1 addition & 5 deletions double_pinyin_flypy.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,18 @@ schema:
switches:
- name: ascii_mode
states: [ 中, A ]
reset: 0
- name: ascii_punct # 中英标点
states: [ ¥, $ ]
reset: 0
- name: traditionalization
states: [ 简, 繁 ]
reset: 0
- name: emoji
states: [ 💀, 😄 ]
reset: 1
- name: full_shape
states: [ 半角, 全角 ]
reset: 0
- name: single_char # search.lua 的功能开关,辅码查词时是否单字优先
abbrev: [词, 单]
states: [正常, 单字]
# reset: 0


# 输入引擎
Expand Down Expand Up @@ -219,6 +214,7 @@ custom_phrase:
emoji:
option_name: emoji
opencc_config: emoji.json
inherit_comment: false # 在 corrector.lua 及反查中,emoji 返回空注释


# 简繁切换
Expand Down
6 changes: 1 addition & 5 deletions double_pinyin_mspy.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,18 @@ schema:
switches:
- name: ascii_mode
states: [ 中, A ]
reset: 0
- name: ascii_punct # 中英标点
states: [ ¥, $ ]
reset: 0
- name: traditionalization
states: [ 简, 繁 ]
reset: 0
- name: emoji
states: [ 💀, 😄 ]
reset: 1
- name: full_shape
states: [ 半角, 全角 ]
reset: 0
- name: single_char # search.lua 的功能开关,辅码查词时是否单字优先
abbrev: [词, 单]
states: [正常, 单字]
# reset: 0


# 输入引擎
Expand Down Expand Up @@ -223,6 +218,7 @@ custom_phrase:
emoji:
option_name: emoji
opencc_config: emoji.json
inherit_comment: false # 在 corrector.lua 及反查中,emoji 返回空注释


# 简繁切换
Expand Down
6 changes: 1 addition & 5 deletions double_pinyin_sogou.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,18 @@ schema:
switches:
- name: ascii_mode
states: [ 中, A ]
reset: 0
- name: ascii_punct # 中英标点
states: [ ¥, $ ]
reset: 0
- name: traditionalization
states: [ 简, 繁 ]
reset: 0
- name: emoji
states: [ 💀, 😄 ]
reset: 1
- name: full_shape
states: [ 半角, 全角 ]
reset: 0
- name: single_char # search.lua 的功能开关,辅码查词时是否单字优先
abbrev: [词, 单]
states: [正常, 单字]
# reset: 0


# 输入引擎
Expand Down Expand Up @@ -223,6 +218,7 @@ custom_phrase:
emoji:
option_name: emoji
opencc_config: emoji.json
inherit_comment: false # 在 corrector.lua 及反查中,emoji 返回空注释


# 简繁切换
Expand Down
6 changes: 1 addition & 5 deletions double_pinyin_ziguang.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,18 @@ schema:
switches:
- name: ascii_mode
states: [ 中, A ]
reset: 0
- name: ascii_punct # 中英标点
states: [ ¥, $ ]
reset: 0
- name: traditionalization
states: [ 简, 繁 ]
reset: 0
- name: emoji
states: [ 💀, 😄 ]
reset: 1
- name: full_shape
states: [ 半角, 全角 ]
reset: 0
- name: single_char # search.lua 的功能开关,辅码查词时是否单字优先
abbrev: [词, 单]
states: [正常, 单字]
# reset: 0


# 输入引擎
Expand Down Expand Up @@ -221,6 +216,7 @@ custom_phrase:
emoji:
option_name: emoji
opencc_config: emoji.json
inherit_comment: false # 在 corrector.lua 及反查中,emoji 返回空注释


# 简繁切换
Expand Down
8 changes: 2 additions & 6 deletions rime_ice.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
schema:
schema_id: rime_ice
name: 雾凇拼音
version: "2024-01-28"
version: "2024-01-29"
author:
- Dvel
description: |
Expand All @@ -23,23 +23,18 @@ schema:
switches:
- name: ascii_mode
states: [ 中, A ]
reset: 0
- name: ascii_punct # 中英标点
states: [ ¥, $ ]
reset: 0
- name: traditionalization
states: [ 简, 繁 ]
reset: 0
- name: emoji
states: [ 💀, 😄 ]
reset: 1
- name: full_shape
states: [ 半角, 全角 ]
reset: 0
- name: single_char # search.lua 的功能开关,辅码查词时是否单字优先
abbrev: [词, 单]
states: [正常, 单字]
# reset: 0


# 输入引擎
Expand Down Expand Up @@ -180,6 +175,7 @@ custom_phrase:
emoji:
option_name: emoji
opencc_config: emoji.json
inherit_comment: false # 在 corrector.lua 及反查中,emoji 返回空注释


# 简繁切换
Expand Down

0 comments on commit d3762b2

Please sign in to comment.