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

Context-dependent patterns #5

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

Conversation

laughedelic
Copy link
Owner

@laughedelic laughedelic commented May 16, 2016

Instead of just pairs, I want to be able to define patterns.

  • matching context around the cursor with regexes (left/right)
  • surrounding cursor with arbitrary text (multi-character symbol-pairs)
  • several pattern-pairs per trigger, i.e. different pairs depending on the context pattens which are bound to the same key (trigger)

One thing that I'm not sure about here is the way to store these new settings so that they are easy to change for a user and easy to parse for the plugin "_

@laughedelic laughedelic self-assigned this May 16, 2016
@laughedelic
Copy link
Owner Author

This POC implementation worked, but something got outdated. Once I have a bit more time I will update it and merge.

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

Successfully merging this pull request may close these issues.

1 participant