Mercurial
view third_party/highlight/languages/json.min.js @ 271:13d61401c57d
redirect Copilot cache to service state
Set XDG_CACHE_HOME from the configured inference state so the systemd service can extract Copilot outside its protected home directory.
Co-authored-by: Copilot <[email protected]>
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Fri, 07 Aug 2026 13:24:05 -0700 |
| parents | 2db6253f355d |
| children |
line wrap: on
line source
/*! `json` grammar compiled for Highlight.js 11.11.1 */ (()=>{var e=(()=>{"use strict";return e=>{const a=["true","false","null"],s={ scope:"literal",beginKeywords:a.join(" ")};return{name:"JSON",aliases:["jsonc"], keywords:{literal:a},contains:[{className:"attr", begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},{match:/[{}[\],:]/, className:"punctuation",relevance:0 },e.QUOTE_STRING_MODE,s,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE], illegal:"\\S"}}})();hljs.registerLanguage("json",e)})();