mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 17:25:39 +01:00
Highlight function definitions better (#79)
Highlight function definitions better
This commit is contained in:
commit
d2577bf88c
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ export const language = <ILanguage>{
|
||||||
specialFunc: [
|
specialFunc: [
|
||||||
[/"/, {token: 'string', next: '@dstring'}],
|
[/"/, {token: 'string', next: '@dstring'}],
|
||||||
[/'/, {token: 'string', next: '@sstring'}],
|
[/'/, {token: 'string', next: '@sstring'}],
|
||||||
[/(?:(?:\:\:?)?[a-zA-Z_]\w*)+/, {token: 'type', next: '@pop'}],
|
[/\S+/, {token: 'type', next: '@pop'}],
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue