Merge pull request #2764 from Pranomvignesh/main

Semantic Tokens Provider Sample is broken in docs
pull/2766/head
Alexandru Dima 2021-11-12 09:31:54 +01:00 committed by GitHub
commit 734e1cb987
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -110,6 +110,7 @@ monaco.languages.registerDocumentSemanticTokensProvider('plaintext', {
monaco.editor.defineTheme('myCustomTheme', {
base: 'vs',
inherit: true,
colors : {},
rules: [
{ token: 'comment', foreground: 'aaaaaa', fontStyle: 'italic' },
{ token: 'keyword', foreground: 'ce63eb' },