Skip to content

Vim: improvements on comments - #5760

Closed
klutzy wants to merge 3 commits into
rust-lang:incomingfrom
klutzy:vim
Closed

Vim: improvements on comments#5760
klutzy wants to merge 3 commits into
rust-lang:incomingfrom
klutzy:vim

Conversation

@klutzy

Copy link
Copy Markdown
Contributor
  1. disable nested comment which is not supported now
  2. add syntax highlight for rustCommentDoc e.g. /** doc */ or /// doc.

klutzy added 2 commits April 7, 2013 04:25
Since comment nesting does not work from 0.4.
@steveklabnik

Copy link
Copy Markdown
Contributor

add syntax highlight for rustCommentDoc e.g. /** doc */ or /// doc.

🤘

@thestinger

Copy link
Copy Markdown
Contributor

@klutzy: this seems to break on comments that consist of just a line with //

I'll definitely accept this if you update it for that case, making the doc comments stand out is great.

Previous commit had a bug that a line which ends with "//" or "/*"
is not correctly highlighted.
@klutzy

Copy link
Copy Markdown
ContributorAuthor

Vim regex always makes me crazy :)

bors added a commit that referenced this pull request Apr 8, 2013
1. disable nested comment which is not supported now
2. add syntax highlight for rustCommentDoc e.g. `/** doc */` or `/// doc`.
@borsbors closed this Apr 8, 2013
bors added a commit that referenced this pull request Apr 10, 2013
Follow-up of #5760:
Add syntax highlight for `/*! doc */` or `//! doc`.
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jul 14, 2020
…hearth
Deprecate regex_macro lint
Closesrust-lang#2586
changelog: Deprecate regex_macro lint
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
5760: Document xtask has few deps invariant
r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Sign up for freeto 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

@klutzy@steveklabnik@thestinger@bors