diff options
| author | Chris Morgan <me@chrismorgan.info> | 2013-08-03 14:36:27 +1000 |
|---|---|---|
| committer | Chris Morgan <me@chrismorgan.info> | 2013-08-03 14:36:27 +1000 |
| commit | 44cb1c3adba18ae36441649f7264ecb834ea2502 (patch) | |
| tree | e3bbab7fb870029244220489fc613607067db839 /src/rt/rust_exchange_alloc.cpp | |
| parent | efd6eafeb4f734ef7883afadb4e50099430c76f2 (diff) | |
| download | rust-44cb1c3adba18ae36441649f7264ecb834ea2502.tar.gz rust-44cb1c3adba18ae36441649f7264ecb834ea2502.zip | |
Highlight sigils and operators in Vim.
Sigil highlighting isn't perfect (especially how it handles ``&``) but after having used it for a week I feel it to be considerably nicer than nothing. As usual, if you don't like it, you can turn it off easily by overriding the default highlighting. Generics are not handled specially; this means that for something like ``S<T>``, the ``<`` and ``>`` are highlighted as operators. For myself, I like this, and there is no way to make it properly context aware without expanding the syntax matching enormously. Also, special characters are highlighted properly in strings/chars, e.g. ``"\x00"`` or ``'\Ufedcba98'`` appropriately.
Diffstat (limited to 'src/rt/rust_exchange_alloc.cpp')
0 files changed, 0 insertions, 0 deletions
