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

color doc comments differently than normal comments #24

Open
andrewrk opened this issue Jul 15, 2019 · 3 comments
Open

color doc comments differently than normal comments #24

andrewrk opened this issue Jul 15, 2019 · 3 comments
Labels
upstream An issue with an upstream dependency

Comments

@andrewrk
Copy link
Member

// normal comment
fn foo() void {}

/// doc comment
fn foo() void {}

It helps to show that they will be parsed differently.

@emekoi
Copy link
Contributor

emekoi commented Jul 16, 2019

i think i'm going to rework a lot of the syntax file to adhere to this hopefully this doesn't break anything such as the linguist syntax highlighting.

@emekoi
Copy link
Contributor

emekoi commented Jul 19, 2019

i think this would require an upstream change on github's part to differentiate between comment.*.documentation scopes and comment.* scopes.

@daurnimator
Copy link

Also container-doc-comments (ziglang/zig#3697)

@emekoi emekoi added the upstream An issue with an upstream dependency label Apr 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream An issue with an upstream dependency
Projects
None yet
Development

No branches or pull requests

3 participants