main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
783 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | /*
|
---|
| 2 | Language: LDIF
|
---|
| 3 | Contributors: Jacob Childress <jacobc@gmail.com>
|
---|
| 4 | Category: enterprise, config
|
---|
| 5 | Website: https://en.wikipedia.org/wiki/LDAP_Data_Interchange_Format
|
---|
| 6 | */
|
---|
| 7 | function ldif(hljs) {
|
---|
| 8 | return {
|
---|
| 9 | name: 'LDIF',
|
---|
| 10 | contains: [
|
---|
| 11 | {
|
---|
| 12 | className: 'attribute',
|
---|
| 13 | begin: '^dn',
|
---|
| 14 | end: ': ',
|
---|
| 15 | excludeEnd: true,
|
---|
| 16 | starts: {
|
---|
| 17 | end: '$',
|
---|
| 18 | relevance: 0
|
---|
| 19 | },
|
---|
| 20 | relevance: 10
|
---|
| 21 | },
|
---|
| 22 | {
|
---|
| 23 | className: 'attribute',
|
---|
| 24 | begin: '^\\w',
|
---|
| 25 | end: ': ',
|
---|
| 26 | excludeEnd: true,
|
---|
| 27 | starts: {
|
---|
| 28 | end: '$',
|
---|
| 29 | relevance: 0
|
---|
| 30 | }
|
---|
| 31 | },
|
---|
| 32 | {
|
---|
| 33 | className: 'literal',
|
---|
| 34 | begin: '^-',
|
---|
| 35 | end: '$'
|
---|
| 36 | },
|
---|
| 37 | hljs.HASH_COMMENT_MODE
|
---|
| 38 | ]
|
---|
| 39 | };
|
---|
| 40 | }
|
---|
| 41 |
|
---|
| 42 | module.exports = ldif;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.