mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 15:05:39 +01:00
Separate operators from delimiters
This commit is contained in:
parent
134fe29df2
commit
a63a94a9af
1 changed files with 2 additions and 1 deletions
|
|
@ -96,7 +96,8 @@ export const language = <ILanguage>{
|
|||
{ include: "@strings" },
|
||||
|
||||
[/[{}()\[\]]/, "@brackets"],
|
||||
[/([,;=\+<>\-\*&@\?\/!])|([<>]=)|(<>)|(=>)|(\.\.\.)|(\.\.)/, "punctuator"],
|
||||
[/([=\+<>\-\*&@\?\/!])|([<>]=)|(<>)|(=>)|(\.\.\.)|(\.\.)/, "operator"],
|
||||
[/[,;]/, "delimiter"],
|
||||
],
|
||||
|
||||
whitespace: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue