about summary refs log tree commit diff
path: root/src/libsyntax/util/parser_testing.rs
diff options
context:
space:
mode:
authorKevin Ballard <kevin@sb.org>2014-02-15 21:22:13 -0800
committerKevin Ballard <kevin@sb.org>2014-02-24 21:03:05 -0800
commitbc35eb78e2dab6b7cb3ede9176b0cfcafc4f8362 (patch)
treeb9e0f59dc3eac1a9947f6663cb86fd1f06d9980b /src/libsyntax/util/parser_testing.rs
parentd98668a55996d656072a4cac7abb1dcbbdf4f48b (diff)
downloadrust-bc35eb78e2dab6b7cb3ede9176b0cfcafc4f8362.tar.gz
rust-bc35eb78e2dab6b7cb3ede9176b0cfcafc4f8362.zip
vim: Tweak how comment nesting works
Don't try to match line comments inside of a comment block. That makes
no sense and can highlight differently for people who override their
highlights.

Similarly, don't match a doc-comment inside of a comment block. It
shouldn't be highlighted differently unless it's actually a doc-comment
(and nested comments are obviously not doc comments).

Fixes #12307.
Diffstat (limited to 'src/libsyntax/util/parser_testing.rs')
0 files changed, 0 insertions, 0 deletions