Skip to content

Commit

Permalink
auto merge of #13215 : sfackler/rust/vim-attr, r=alexcrichton
Browse files Browse the repository at this point in the history
  • Loading branch information
bors committed Mar 30, 2014
2 parents ec7d0c7 + 6e69712 commit 90085a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/etc/vim/syntax/rust.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 90085a1

Please sign in to comment.