Browse files

Remove colon from jsonKeywordMatch

so keys with colons are allowed
  • Loading branch information...
1 parent 6e5032c commit 75bd27832b1d24ca953c6db2cb901a989b3e83b5 @fungusakafungus fungusakafungus committed Apr 27, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 syntax/json.vim
2 syntax/json.vim
@@ -31,7 +31,7 @@ syn region jsonStringSQError oneline start=+'+ skip=+\\\\\|\\"+ end=+'+
" Syntax: JSON Keywords
" Separated into a match and region because a region by itself is always greedy
-syn match jsonKeywordMatch /"[^\"\:]\+"[[:blank:]\r\n]*\:/ contains=jsonKeyword
+syn match jsonKeywordMatch /"[^\"]\+"[[:blank:]\r\n]*\:/ contains=jsonKeyword
if has('conceal')
syn region jsonKeyword matchgroup=jsonQuote start=/"/ end=/"\ze[[:blank:]\r\n]*\:/ concealends contained

0 comments on commit 75bd278

Please sign in to comment.