diff options
| author | Chris Morgan <me@chrismorgan.info> | 2014-07-04 10:47:13 +1000 |
|---|---|---|
| committer | Chris Morgan <me@chrismorgan.info> | 2014-07-21 13:14:34 +1000 |
| commit | 0a0c6da564e91a241feadae8bc1f5ad879045042 (patch) | |
| tree | 59e6469c3b730e1809e9b9faf23d7e5df42eb863 /src/libstd/path | |
| parent | ca6ffac4e4683705b895e368375103315ca0e1ca (diff) | |
| download | rust-0a0c6da564e91a241feadae8bc1f5ad879045042.tar.gz rust-0a0c6da564e91a241feadae8bc1f5ad879045042.zip | |
Fix :syn-include usage of Vim filetype.
Here’s what the Vim manual says in *:syn-include*:
:sy[ntax] include [@{grouplist-name}] {file-name}
All syntax items declared in the included file will have the
"contained" flag added. In addition, if a group list is
specified, all top-level syntax items in the included file will
be added to that list.
We had two rules for `rustModPath`, one `contained` and the other not.
The effect was that the second (now renamed to `rustModPathInUse`) was
being included in the group list, and thus that all identifiers were
being highlighted as `Include`, which is definitely not what we wanted.
Diffstat (limited to 'src/libstd/path')
0 files changed, 0 insertions, 0 deletions
