Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix issue/333. skip any escaped characters in quotes.

  • Loading branch information...
commit d6e4512a94873f80ca9705b72a3afe5f818f96b2 1 parent 9e569fc
@pherl pherl authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 editors/proto.vim
4 editors/proto.vim
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.