Skip to content

Commit cd6f64d

Browse files
committed
Merge pull request #15 from amadeus/feature/boolean-granularity
Added true/false granularity, backwards compatible
2 parents b3fa645 + f851e28 commit cd6f64d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

syntax/json.vim

+4-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ syn match jsonPadding "\%^[[:blank:]\r\n]*[_$[:alpha:]][_$[:alnum:]]*[[:blank:]
7373
syn match jsonPadding ");[[:blank:]\r\n]*\%$"
7474

7575
" Syntax: Boolean
76-
syn keyword jsonBoolean true false
76+
syn keyword jsonBooleanTrue true
77+
syn keyword jsonBooleanFalse false
7778

7879
" Syntax: Null
7980
syn keyword jsonNull null
@@ -98,6 +99,8 @@ if version >= 508 || !exists("did_json_syn_inits")
9899
HiLink jsonNumber Number
99100
HiLink jsonBraces Delimiter
100101
HiLink jsonNull Function
102+
HiLink jsonBooleanTrue jsonBoolean
103+
HiLink jsonBooleanFalse jsonBoolean
101104
HiLink jsonBoolean Boolean
102105
HiLink jsonKeywordRegion Label
103106

0 commit comments

Comments
 (0)