diff --git a/rc/base/json.kak b/rc/base/json.kak index 6cefdf34..3369d9f9 100644 --- a/rc/base/json.kak +++ b/rc/base/json.kak @@ -20,7 +20,7 @@ addhl -group / regions -default code json \ 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 # ‾‾‾‾‾‾‾‾