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

Improve vim syntax definition #1356

Merged
merged 1 commit into from Apr 5, 2018
Merged

Conversation

RedBeard0531
Copy link
Contributor

Only highlights comments where the ninja lexer would treat them as such.
Also correctly scopes the rule- and pool-specific variables highlighting.

The comment highlighting was bugging me because we have some variable definitions that include the '#' character, and the old highlighting made it look like that would be ignored by ninja. The ambiguous phrasing in the manual didn't help: "Comments begin with # and extend to the end of the line."

Only highlights comments where the ninja lexer would treat them as such.
Also correctly scopes the rule- and pool-specific variables highlighting.
@nico nico merged commit 4fd758a into ninja-build:master Apr 5, 2018
@nico
Copy link
Collaborator

nico commented Apr 5, 2018

Thanks!

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

2 participants