0
This repository has been archived on 2024-08-27. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
highlight_js-rails/vendor/assets/javascripts/highlight_js/languages/ini.js
Rogaboru Kujimoshi a52831ccdb Update to 8.0
2014-06-08 21:04:39 +04:00

34 lines
649 B
JavaScript

/*
Language: Ini
*/
function(hljs) {
return {
case_insensitive: true,
illegal: /\S/,
contains: [
{
className: 'comment',
begin: ';', end: '$'
},
{
className: 'title',
begin: '^\\[', end: '\\]'
},
{
className: 'setting',
begin: '^[a-z0-9\\[\\]_-]+[ \\t]*=[ \\t]*', end: '$',
contains: [
{
className: 'value',
endsWithParent: true,
keywords: 'on off true false yes no',
contains: [hljs.QUOTE_STRING_MODE, hljs.NUMBER_MODE],
relevance: 0
}
]
}
]
};
}