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

rustdoc: syntax highlight macro definitions, colour $... substitutions. #12647

Merged
merged 1 commit into from
Mar 2, 2014

Conversation

huonw
Copy link
Member

@huonw huonw commented Mar 2, 2014

Macro definitions are just their raw source code, and so should be
highlighted where possible. Also, $ident non-terminal substitutions are
special, and so are worthy of a little special treatment.

Macro definitions are just their raw source code, and so should be
highlighted where possible. Also, $ident non-terminal substitutions are
special, and so are worth of a little special treatment.
@huonw
Copy link
Member Author

huonw commented Mar 2, 2014

r? @alexcrichton

Looks like:
so-macro_much-rainbow

@eddyb
Copy link
Member

eddyb commented Mar 2, 2014

Can we use green for macros? This magenta is unnerving.

@huonw
Copy link
Member Author

huonw commented Mar 2, 2014

I opened #12648 about the colour scheme.

bors added a commit that referenced this pull request Mar 2, 2014
…chton

Macro definitions are just their raw source code, and so should be
highlighted where possible. Also, $ident non-terminal substitutions are
special, and so are worthy of a little special treatment.
@bors bors closed this Mar 2, 2014
@bors bors merged commit c602c81 into rust-lang:master Mar 2, 2014
@huonw huonw deleted the rustdoc-highlight-macros branch June 27, 2014 06:48
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.

4 participants