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

Relax Language First Line Match #21586

Merged
merged 2 commits into from
Mar 2, 2017
Merged

Relax Language First Line Match #21586

merged 2 commits into from
Mar 2, 2017

Conversation

mjbvz
Copy link
Collaborator

@mjbvz mjbvz commented Mar 1, 2017

Fixes #21533

Bug
The first line pattern for a language currently requires the entire line to match. This does is different from how tools such as textmate use firstLineMatch

Fix
Relax this restriction so that any match is used, even if it only matches part of the line

@mjbvz mjbvz self-assigned this Mar 1, 2017
@mjbvz mjbvz requested a review from bpasero March 1, 2017 02:05
@mjbvz mjbvz added this to the March 2017 milestone Mar 1, 2017
Copy link
Member

@bpasero bpasero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

mjbvz added 2 commits March 1, 2017 17:02
Fixes #21533

**Bug**
The first line pattern for a language currently requires the entire line to match. This does is different from how tools such as textmate use firstLineMatch

**Fix**
Relax this restriction so that any match is used
@mjbvz mjbvz force-pushed the relax-first-line-match branch from fcd4888 to f9532cc Compare March 2, 2017 01:11
@mjbvz mjbvz merged commit 6b74e23 into master Mar 2, 2017
@bpasero bpasero deleted the relax-first-line-match branch March 2, 2017 05:40
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

firstLine in Language Requires Entire line to match
3 participants