diff options
| author | Steven Fackler <sfackler@gmail.com> | 2014-03-30 12:53:44 -0700 |
|---|---|---|
| committer | Steven Fackler <sfackler@gmail.com> | 2014-03-30 12:53:44 -0700 |
| commit | 6e69712030ba80e3788b07c851d43fe1cfc1e186 (patch) | |
| tree | d7b4b27a1231eea6bcfdce310eec396cd8e0173e | |
| parent | 86890b9e7c5db28ac2da5cd63d1a51d63a5e6bec (diff) | |
Support new attribute syntax in vim syntax file
| -rw-r--r-- | src/etc/vim/syntax/rust.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/vim/syntax/rust.vim b/src/etc/vim/syntax/rust.vim index 289a03042bd..dd631b19322 100644 --- a/src/etc/vim/syntax/rust.vim +++ b/src/etc/vim/syntax/rust.vim @@ -135,7 +135,7 @@ syn match rustStringContinuation display contained /\\\n\s*/ syn region rustString start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=rustSpecial,rustSpecialError,rustStringContinuation,@Spell syn region rustString start='r\z(#*\)"' end='"\z1' contains=@Spell -syn region rustAttribute start="#\[" end="\]" contains=rustString,rustDeriving +syn region rustAttribute start="#!\?\[" end="\]" contains=rustString,rustDeriving syn region rustDeriving start="deriving(" end=")" contained contains=rustTrait " Number literals |
