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:
560 bytes
|
Line | |
---|
1 | Prism.languages.roboconf = {
|
---|
2 | 'comment': /#.*/,
|
---|
3 | 'keyword': {
|
---|
4 | 'pattern': /(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,
|
---|
5 | lookbehind: true
|
---|
6 | },
|
---|
7 | 'component': {
|
---|
8 | pattern: /[\w-]+(?=[ \t]*\{)/,
|
---|
9 | alias: 'variable'
|
---|
10 | },
|
---|
11 | 'property': /[\w.-]+(?=[ \t]*:)/,
|
---|
12 | 'value': {
|
---|
13 | pattern: /(=[ \t]*(?![ \t]))[^,;]+/,
|
---|
14 | lookbehind: true,
|
---|
15 | alias: 'attr-value'
|
---|
16 | },
|
---|
17 | 'optional': {
|
---|
18 | pattern: /\(optional\)/,
|
---|
19 | alias: 'builtin'
|
---|
20 | },
|
---|
21 | 'wildcard': {
|
---|
22 | pattern: /(\.)\*/,
|
---|
23 | lookbehind: true,
|
---|
24 | alias: 'operator'
|
---|
25 | },
|
---|
26 | 'punctuation': /[{},.;:=]/
|
---|
27 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.