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 customizable ignored patterns (ex. spaces-only selection) #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

abougouffa
Copy link

This adds a way to exclude any arbitrary text from the highlighted selections (configured as a list of regular expressions to ignore).

The default value is set to ignore space-only selections. We can set it to nil by default so we keep the current behavior, with the user being able to customize it easily.

This PR will fixes the issue addressed by #2 when the value is set to ignore space-only regions. So, it is a more generic approach to fix this issue.

The default value is set to ignore space-only selections. We can set it to `nil`
by default so we keep the current behavior, with the user being able to
customize it easily.

This PR will fixes the issue addressed by balloneij#2 when the value is set to ignore
space-only regions. So, it is a more generic approach to fix this issue.
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