Skip to content

Instantly share code, notes, and snippets.

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
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
_import: 'default.yaml:punctuator' # (1)
_import: 'symbols.yaml:punctuator/half_shape'
'/': 'Overwritten'
import_preset: default # same as (1)

This comment has been minimized.

Copy link
Owner Author

@lotem lotem commented Mar 23, 2015


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment