Last active
August 29, 2015 14:17
-
-
Save lotem/cdb561af4937818cf1ae to your computer and use it in GitHub Desktop.
Proposal of Rime config subtree loading
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rime schema: luna_pinyin | |
# _import: future.schema.yaml | |
--- | |
# no more need to create the patched file | |
_patch: 'luna_pinyin.custom.yaml:patch' | |
_import: luna_pinyin.prototype.yaml # replace the root node | |
--- | |
# this patch is uninteresting, just for comparison to _import | |
_patch: | |
translator/dictionary: luna_pinyin.extra | |
_import: # this seems flawed. child nodes aren't there while processing the root node | |
punctuator: 'default.yaml:punctuator' | |
recognizer: 'default.yaml:recognizer' | |
reverse_lookup/dictionary: translator/dictionary | |
--- | |
punctuator: | |
_import: 'default.yaml:punctuator' # (1) | |
half_shape: | |
_import: 'symbols.yaml:punctuator/half_shape' | |
'/': 'Overwritten' | |
--- | |
punctuator: | |
import_preset: default # same as (1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
終極複用