Skip to content
This repository

Request: make yas--define-parents public API #299

Open
tkf opened this Issue September 05, 2012 · 2 comments

2 participants

Takafumi Arakaki João Távora
Takafumi Arakaki

If you only want define parent modes, this is easier than making a directory for the .yas-parents file.

BTW, you have ".yas.parents" in the document. I suppose it should be ".yas-parents":
http://capitaomorte.github.com/yasnippet/snippet-organization.html

João Távora

I'll have to analyse this very well, it's not clear for me, for example, when users would be allowed to add parents to a mode. It would almost always need a full reload. Why do you find .yas-parent so bad?

BTW I'm trying to do a complete rewrite of the documentation, as a part of #198, will take care of that there.

Takafumi Arakaki

Cases I have in mind:

  1. Library author who wants to set parent modes or provide a configuration helper function to do that.

  2. Setup parent modes for mode having non-regular characters such as /.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.