sublime-zig-language icon indicating copy to clipboard operation
sublime-zig-language copied to clipboard

color doc comments differently than normal comments

Open andrewrk opened this issue 6 years ago • 3 comments

// normal comment
fn foo() void {}

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

It helps to show that they will be parsed differently.

andrewrk avatar Jul 15 '19 21:07 andrewrk

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 avatar Jul 16 '19 07:07 emekoi

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

emekoi avatar Jul 19 '19 08:07 emekoi

Also container-doc-comments (https://github.com/ziglang/zig/pull/3697)

daurnimator avatar Nov 18 '19 01:11 daurnimator