Skip to content

Commit

Permalink
Fix issue/333. skip any escaped characters in quotes.
Browse files Browse the repository at this point in the history
  • Loading branch information
liujisi committed Jul 13, 2012
1 parent 9e569fc commit d6e4512
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions editors/proto.vim
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ syn match pbInt /\<0[xX]\x+\>/
syn match pbFloat /\<-\?\d*\(\.\d*\)\?/
syn region pbComment start="\/\*" end="\*\/" contains=@pbCommentGrp
syn region pbComment start="//" skip="\\$" end="$" keepend contains=@pbCommentGrp
syn region pbString start=/"/ skip=/\\"/ end=/"/
syn region pbString start=/'/ skip=/\\'/ end=/'/
syn region pbString start=/"/ skip=/\\./ end=/"/
syn region pbString start=/'/ skip=/\\./ end=/'/

if version >= 508 || !exists("did_proto_syn_inits")
if version < 508
Expand Down

0 comments on commit d6e4512

Please sign in to comment.