Sha256: c75f8a5e807d406c702d4772984fffa4ed0ad1d2b1091b45477cefff8cb1b056

Contents?: true

Size: 785 Bytes

Versions: 5

Compression:

Stored size: 785 Bytes

Contents

/*! `nix` grammar compiled for Highlight.js 11.6.0 */
(()=>{var e=(()=>{"use strict";return e=>{const n={
keyword:["rec","with","let","in","inherit","assert","if","else","then"],
literal:["true","false","or","and","null"],
built_in:["import","abort","baseNameOf","dirOf","isNull","builtins","map","removeAttrs","throw","toString","derivation"]
},i={className:"subst",begin:/\$\{/,end:/\}/,keywords:n},s={className:"string",
contains:[i],variants:[{begin:"''",end:"''"},{begin:'"',end:'"'}]
},t=[e.NUMBER_MODE,e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s,{
begin:/[a-zA-Z0-9-_]+(\s*=)/,returnBegin:!0,relevance:0,contains:[{
className:"attr",begin:/\S+/,relevance:.2}]}];return i.contains=t,{name:"Nix",
aliases:["nixos"],keywords:n,contains:t}}})();hljs.registerLanguage("nix",e)
})();

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
domain-jekyll-1.5.0 assets/vendor/highlight/languages/nix.min.js
domain-jekyll-1.4.0 assets/vendor/highlight/languages/nix.min.js
domain-jekyll-1.3.0 assets/vendor/highlight/languages/nix.min.js
domain-jekyll-1.2.1 assets/vendor/highlight/languages/nix.min.js
domain-jekyll-1.2.0 assets/vendor/highlight/languages/nix.min.js