|
|
@ -163,7 +163,7 @@ export const language = <languages.IMonarchLanguage>{
|
|
|
|
[/[{}\[\]()]/, '@brackets'],
|
|
|
|
[/[{}\[\]()]/, '@brackets'],
|
|
|
|
|
|
|
|
|
|
|
|
{ include: '@operators' },
|
|
|
|
{ include: '@operators' },
|
|
|
|
|
|
|
|
[/#'$/, 'comment.doc'],
|
|
|
|
[/#'/, 'comment.doc', '@roxygen'],
|
|
|
|
[/#'/, 'comment.doc', '@roxygen'],
|
|
|
|
[/(^#.*$)/, 'comment'],
|
|
|
|
[/(^#.*$)/, 'comment'],
|
|
|
|
|
|
|
|
|
|
|
@ -186,6 +186,7 @@ export const language = <languages.IMonarchLanguage>{
|
|
|
|
|
|
|
|
|
|
|
|
// Recognize Roxygen comments
|
|
|
|
// Recognize Roxygen comments
|
|
|
|
roxygen: [
|
|
|
|
roxygen: [
|
|
|
|
|
|
|
|
[/(^$)/, { token: 'comment.doc', next: '@pop' }],
|
|
|
|
[
|
|
|
|
[
|
|
|
|
/@\w+/,
|
|
|
|
/@\w+/,
|
|
|
|
{
|
|
|
|
{
|
|
|
|