node_modules ignore

This commit is contained in:
2025-05-08 23:43:47 +02:00
parent e19d52f172
commit 4574544c9f
65041 changed files with 10593536 additions and 0 deletions

View File

@@ -0,0 +1,57 @@
/*
Language: Parser3
Requires: xml.js
Author: Oleg Volchkov <oleg@volchkov.net>
Website: https://www.parser.ru/en/
Category: template
*/
function parser3(hljs) {
const CURLY_SUBCOMMENT = hljs.COMMENT(
/\{/,
/\}/,
{
contains: [ 'self' ]
}
);
return {
name: 'Parser3',
subLanguage: 'xml',
relevance: 0,
contains: [
hljs.COMMENT('^#', '$'),
hljs.COMMENT(
/\^rem\{/,
/\}/,
{
relevance: 10,
contains: [ CURLY_SUBCOMMENT ]
}
),
{
className: 'meta',
begin: '^@(?:BASE|USE|CLASS|OPTIONS)$',
relevance: 10
},
{
className: 'title',
begin: '@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$'
},
{
className: 'variable',
begin: /\$\{?[\w\-.:]+\}?/
},
{
className: 'keyword',
begin: /\^[\w\-.:]+/
},
{
className: 'number',
begin: '\\^#[0-9a-fA-F]+'
},
hljs.C_NUMBER_MODE
]
};
}
module.exports = parser3;