summaryrefslogtreecommitdiff
path: root/static/hl/languages/dsconfig.min.js
blob: e63b456c84210f9b8ad50b74903036e48fb264af (plain)
1
2
3
4
5
6
7
8
9
hljs.registerLanguage("dsconfig",(()=>{"use strict";return e=>({
keywords:"dsconfig",contains:[{className:"keyword",begin:"^dsconfig",end:/\s/,
excludeEnd:!0,relevance:10},{className:"built_in",
begin:/(list|create|get|set|delete)-(\w+)/,end:/\s/,excludeEnd:!0,
illegal:"!@#$%^&*()",relevance:10},{className:"built_in",begin:/--(\w+)/,
end:/\s/,excludeEnd:!0},{className:"string",begin:/"/,end:/"/},{
className:"string",begin:/'/,end:/'/},{className:"string",begin:/[\w\-?]+:\w+/,
end:/\W/,relevance:0},{className:"string",begin:/\w+-?\w+/,end:/\W/,relevance:0
},e.HASH_COMMENT_MODE]})})());