|
@@ -269,6 +269,7 @@ export const language = <ILanguage>{
|
|
|
|
|
|
whitespace: [
|
|
|
[/[ \t\r\n]+/, ''],
|
|
|
+ [/\/\*\*(?!\/)/, 'comment.doc', '@apexdoc'],
|
|
|
[/\/\*/, 'comment', '@comment'],
|
|
|
[/\/\/.*$/, 'comment'],
|
|
|
],
|
|
@@ -281,6 +282,13 @@ export const language = <ILanguage>{
|
|
|
[/[\/*]/, 'comment']
|
|
|
],
|
|
|
|
|
|
+ //Identical copy of comment above, except for the addition of .doc
|
|
|
+ apexdoc: [
|
|
|
+ [/[^\/*]+/, 'comment.doc'],
|
|
|
+ [/\*\//, 'comment.doc', '@pop'],
|
|
|
+ [/[\/*]/, 'comment.doc']
|
|
|
+ ],
|
|
|
+
|
|
|
string: [
|
|
|
[/[^\\"']+/, 'string'],
|
|
|
[/@escapes/, 'string.escape'],
|