diff --git a/package-lock.json b/package-lock.json index 8d2aceb..83b3179 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "tx3-language-support", - "version": "0.0.5", + "version": "0.0.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "tx3-language-support", - "version": "0.0.5", + "version": "0.0.6", "dependencies": { "html-react-parser": "^5.2.5", "vscode-languageclient": "^8.1.0" diff --git a/package.json b/package.json index 181b27f..d82393f 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,23 @@ "path": "./syntaxes/tx3.tmLanguage.json" } ], + "configurationDefaults": { + "[tx3]": { + "editor.semanticHighlighting.enabled": true + }, + "editor.semanticTokenColorCustomizations": { + "enabled": true, + "rules": { + "party": { + "foreground": "#4EC9B0" + }, + "policy": { + "foreground": "#eb66fd", + "fontStyle": "italic" + } + } + } + }, "commands": [ { "command": "tx3.startServer", @@ -83,6 +100,11 @@ "description": "Path to the Tx3 language server executable", "default": "~/.tx3/default/bin/tx3-lsp" }, + "tx3.semanticHighlighting.enabled": { + "type": "boolean", + "default": true, + "description": "Enable semantic highlighting for Tx3 files" + }, "tx3.trpServers": { "type": "array", "description": "TRP servers list",