Skip to content

Commit

Permalink
Update JSON syntax definition from upstream. (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
lmshk authored Dec 9, 2024
1 parent f804b78 commit d06b359
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skylighting-core/xml/json.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
** https://www.json.org/json-en.html
***************************************************************************
-->
<language name="JSON" section="Markup" version="8" kateversion="2.4" extensions="*.json;.kateproject;.arcconfig;*.geojson;*.gltf;*.theme" mimetype="application/json" author="Sebastian Pipping (sebastian@pipping.org)" license="GPL">
<language name="JSON" section="Markup" version="9" kateversion="2.4" extensions="*.json;*.jsonl;.kateproject;.arcconfig;*.geojson;*.gltf;*.theme;*.cast" mimetype="application/json" author="Sebastian Pipping (sebastian@pipping.org)" license="GPL">
<highlighting>
<list name="Constants">
<item>null</item>
Expand Down Expand Up @@ -62,7 +62,7 @@

<keyword String="Constants" context="#stay" attribute="Style_Keyword" />

<RegExpr String="-?\b([1-9][0-9]*\.[0-9]+(?:[eE][+-]?[0-9]+)?)" context="#stay" attribute="Style_Float" />
<RegExpr String="-?\b((0\b|[1-9][0-9]*)\.[0-9]+(?:[eE][+-]?[0-9]+)?)" context="#stay" attribute="Style_Float" />
<RegExpr String="-?\b(0\b|[1-9][0-9]*(?:[eE][+-]?[0-9]+)?)" context="#stay" attribute="Style_Decimal" />
</context>

Expand Down

0 comments on commit d06b359

Please sign in to comment.