tree-sitter-rust
tree-sitter-rust copied to clipboard
Doc strings parser
It would be a nice enhancement if doc string comments would be parsed, to provide better highlights when documenting code
@GrayJack
I think it would be better to differentiate ///
from //
because they are assigned to the same token
I was talking about in doc comments be able to highlight the code inside the code block, adding a injection point
Oops, sorry, misunderstood the "parser" word used in this issue, I would open another one for my problem then :)
Well, I think we could think on both as the same problem, I have no problem with that
Yep, I agree :)
Maybe if injecting markdown in the ///
blocks since docs in rust are markdown.
Duplicate of https://github.com/tree-sitter/tree-sitter-rust/issues/175.
Closed by #195