about summary refs log tree commit diff
path: root/src/rt/rust_exchange_alloc.cpp
diff options
context:
space:
mode:
authorChris Morgan <me@chrismorgan.info>2013-08-03 14:36:27 +1000
committerChris Morgan <me@chrismorgan.info>2013-08-03 14:36:27 +1000
commit44cb1c3adba18ae36441649f7264ecb834ea2502 (patch)
treee3bbab7fb870029244220489fc613607067db839 /src/rt/rust_exchange_alloc.cpp
parentefd6eafeb4f734ef7883afadb4e50099430c76f2 (diff)
downloadrust-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