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

Integrate better with YASnippet #32

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

piknik
Copy link

@piknik piknik commented Feb 12, 2023

I found the file-based regexp to be too limiting. In my case I needed to specify specific paths but forward-slash characters cannot be used in filenames.

So rather than come up with a new system, we'll just use yasnippet itself to specify the regexp. As a bonus, we can have regexps be auto-generated. For usage see documentation additions.

Added code to scan yasnippet tables and use snippets from that system. yatemplate will auto-reload along with yasnippet. Documentation is modified and added to reflect new change. Previous file-based mechanism unchanged for backwards compatibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant