Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Proposal of Rime config subtree loading
# 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)
@lotem

This comment has been minimized.

Copy link
Owner Author

commented Mar 23, 2015

終極複用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.