Hi list.

"bar" is not hghlighted in {"foo":"bar"}.

http://go-gyazo.appspot.com/ea348aedfed8d296.png

but if put one space in before "bar, it works.

http://go-gyazo.appspot.com/afc0b186d9722c93.png

it should be:

http://go-gyazo.appspot.com/eb086e57fe591402.png

diff --git a/runtime/syntax/vim.vim b/runtime/syntax/vim.vim
index ebed5be..b3e55ce 100644
--- a/runtime/syntax/vim.vim
+++ b/runtime/syntax/vim.vim
@@ -289,8 +289,8 @@ syn region  vimPatSepZone   oneline   contained   
matchgroup=vimPatSepZ start="\\%\
 syn region     vimPatRegion    contained transparent matchgroup=vimPatSepR 
start="\\[z%]\=(" end="\\)" contains=@vimSubstList oneline
 syn match      vimNotPatSep    contained       "\\\\"
 syn cluster    vimStringGroup  
contains=vimEscapeBrace,vimPatSep,vimNotPatSep,vimPatSepErr,vimPatSepZone,@Spell
-syn region     vimString       oneline keepend start=+[^:a-zA-Z>!\\@]"+lc=1 
skip=+\\\\\|\\"+ end=+"+   contains=@vimStringGroup
-syn region     vimString       oneline keepend start=+[^:a-zA-Z>!\\@]'+lc=1 
end=+'+
+syn region     vimString       oneline keepend start=+[^a-zA-Z>!\\@]"+lc=1 
skip=+\\\\\|\\"+ end=+"+    contains=@vimStringGroup
+syn region     vimString       oneline keepend start=+[^a-zA-Z>!\\@]'+lc=1 
end=+'+
 syn region     vimString       oneline start=+=!+lc=1  skip=+\\\\\|\\!+ 
end=+!+        contains=@vimStringGroup
 syn region     vimString       oneline start="=+"lc=1  skip="\\\\\|\\+" 
end="+"        contains=@vimStringGroup
 syn region     vimString       oneline start="\s/\s*\A"lc=1 skip="\\\\\|\\+" 
end="/"   contains=@vimStringGroup

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui