Highlight numbers as values in json

This commit is contained in:
Maxime Coste 2016-11-14 13:14:21 +00:00
parent c2989704d5
commit cb074793a0

View File

@ -20,7 +20,7 @@ addhl -group / regions -default code json \
addhl -group /json/string fill string addhl -group /json/string fill string
addhl -group /json/code regex \b(true|false|null)\b 0:value addhl -group /json/code regex \b(true|false|null|\d+(?:\.\d+)?(?:[eE][+-]?\d*)?)\b 0:value
# Commands # Commands
# ‾‾‾‾‾‾‾‾ # ‾‾‾‾‾‾‾‾