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

Clean up Varnish files #1433

Merged
merged 3 commits into from Feb 11, 2020
Merged

Conversation

pyrmont
Copy link
Contributor

@pyrmont pyrmont commented Feb 10, 2020

The Varnish lexer was written in a style inconsistent with that used in the current version Rouge. This PR fixes those problems.

@pyrmont pyrmont added the needs-review The PR needs to be reviewed label Feb 10, 2020
@pyrmont pyrmont requested a review from gfx February 10, 2020 19:23
@pyrmont pyrmont self-assigned this Feb 10, 2020
@pyrmont
Copy link
Contributor Author

pyrmont commented Feb 11, 2020

@blckct Thanks for submitting #1434! There are a bunch of changes that need to be made to the Varnish lexer to bring it into conformity with the way we try to write lexers now and so I created this PR to do that. I've added your keywords here.

Since I'm guessing you have some familiarity with Varnish, could you have a look at the code in this PR and let me know what you think?

Copy link
Member

@gfx gfx left a comment

Choose a reason for hiding this comment

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

👍

lib/rouge/lexers/varnish.rb Outdated Show resolved Hide resolved
@pyrmont pyrmont merged commit 03d8a43 into rouge-ruby:master Feb 11, 2020
@pyrmont pyrmont removed the needs-review The PR needs to be reviewed label Feb 11, 2020
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.

None yet

3 participants