mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 17:25:39 +01:00
Highlight function definitions better
This commit is contained in:
parent
48bed9874a
commit
ff60b4a68d
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ export const language = <ILanguage>{
|
|||
specialFunc: [
|
||||
[/"/, {token: 'string', next: '@dstring'}],
|
||||
[/'/, {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