Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add variable support #9

Open
skewballfox opened this issue Jul 2, 2021 · 1 comment
Open

add variable support #9

skewballfox opened this issue Jul 2, 2021 · 1 comment
Labels
parsing bug or enhancement related to parsing and rebuilding snippets

Comments

@skewballfox
Copy link
Owner

In order to support the snippet syntax in editors without builtin snippet functionality, and also in order to support variables beyond those specified in the specification, variables (eventually) will have to be handled by sniper itself.

this also adds a much needed layer to the parsing logic. Right now the parsing is only handled on the first call of the snippet, modifying it so that future calls won't have to rebuild a snippet composed of snippets. But variable handling(along with static text transformations), will have to be handled per call.

@skewballfox skewballfox added the parsing bug or enhancement related to parsing and rebuilding snippets label Jul 2, 2021
@skewballfox
Copy link
Owner Author

This has been started with the Functor type component, I'll close this once the type is fully supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
parsing bug or enhancement related to parsing and rebuilding snippets
Projects
None yet
Development

No branches or pull requests

1 participant