{ // Treat .wrn files as the WrNexus language (redundant with the extension, but // makes highlighting work the moment the repo is opened). "files.associations": { "*.wrn": "wrn" }, // Distinct colors for WrNexus's own attributes, so they're easy to spot inside // plain HTML. These mirror the extension's shipped defaults; keeping them here // guarantees the colors apply in this workspace and gives you one place to tweak. "editor.tokenColorCustomizations": { "textMateRules": [ { "scope": "entity.other.attribute-name.wrn.directive", "settings": { "foreground": "#5eead4", "fontStyle": "bold" } }, { "scope": "entity.other.attribute-name.wrn.event", "settings": { "foreground": "#f472b6", "fontStyle": "bold" } }, { "scope": "punctuation.definition.keyword.wrn", "settings": { "foreground": "#f472b6" } }, { "scope": "keyword.control.i18n.wrn", "settings": { "foreground": "#f472b6", "fontStyle": "bold" } }, { "scope": "string.other.i18n-key.wrn", "settings": { "foreground": "#5eead4" } }, { "scope": "constant.language.http-method.wrn", "settings": { "foreground": "#f472b6", "fontStyle": "bold" } } ] }, // The bundled .wrn compiler is a generated artifact — hide it from search. "search.exclude": { "editors/vscode/src/compiler.cjs": true }, "wrnexus.diagnostics.enable": true, "editor.semanticHighlighting.enabled": true, "editor.semanticTokenColorCustomizations": { "rules": { "variable:wrn": { "foreground": "#8B5CF6" }, "variable.declaration:wrn": { "foreground": "#A78BFA", "fontStyle": "bold" }, "variable.modification:wrn": { "foreground": "#F59E0B" } } } }