Skip to content

Conversation

@mattmundell
Copy link

What

Simplify the parser to make it more robust.

Why

I want to use this module for syntax highlighting, but it was getting some things wrong. In particular it was parsing keywords like diff and @@ as tokens when they appeared in the diff context, and it was getting stuck on filenames when they contained spaces or when the command was git diff --no-prefix.

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