From c07db384eec006a662bc1add32d1feb9bc7ada65 Mon Sep 17 00:00:00 2001 From: sdegutis Date: Thu, 22 Aug 2024 14:28:31 -0500 Subject: [PATCH] Notes. --- site/token-provider.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/site/token-provider.ts b/site/token-provider.ts index 93d32f9..6dcbc24 100644 --- a/site/token-provider.ts +++ b/site/token-provider.ts @@ -2,6 +2,14 @@ // vs-dark monaco: https://github.com/microsoft/vscode/blob/main/src/vs/editor/standalone/common/themes.ts#L82 // dark-plus vscode: https://github.com/microsoft/vscode/blob/main/extensions/theme-defaults/themes/dark_plus.json +/** + * Differences from official typescript monarch token provider: + * + * 1. `...` is highlighted as a keyword now + * 2. `export/etc` are highlighted as control-flow keywords + * + */ + export const rules = [ // { token: "identifier.ts", foreground: "9CDCFE" }, { token: "property.ts", foreground: "9CDCFE" },