Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Support new attribute syntax in vim syntax file
  • Loading branch information
sfackler committed Mar 30, 2014
1 parent 86890b9 commit 6e69712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/etc/vim/syntax/rust.vim
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

5 comments on commit 6e69712

@bors
Copy link
Contributor

@bors bors commented on 6e69712 Mar 30, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at sfackler@6e69712

@bors
Copy link
Contributor

@bors bors commented on 6e69712 Mar 30, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging sfackler/rust/vim-attr = 6e69712 into auto

@bors
Copy link
Contributor

@bors bors commented on 6e69712 Mar 30, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sfackler/rust/vim-attr = 6e69712 merged ok, testing candidate = 90085a1

@bors
Copy link
Contributor

@bors bors commented on 6e69712 Mar 30, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 6e69712 Mar 30, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 90085a1

Please sign in to comment.