Skip to content
This repository was archived by the owner on Jan 25, 2022. It is now read-only.

Conversation

sifton
Copy link

@sifton sifton commented Dec 4, 2017

So I've made a couple enhancements that noticeably improve syntax highlighting, particularly for VSCode:

  • Modified the type rule to match only those lexemes which start with an ASCII capital letter (e.g. Vertex but not vertex, PartialEq but not partialEq).
  • Added an identifier rule which accepts everything that type used to accept, but is matched later so as not to conflict
  • Allow types and identifiers to be matched in attributes, function definitions, and elsewhere (not otherwise specified)

Hope this is cool.

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.

1 participant