Skip to content

Commit b31c05c

Browse files
committed
2 parents 44e5eaa + c8c7e57 commit b31c05c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,21 @@ See: [XPath Embedded Wiki](https://github.com/DeltaXML/vscode-xslt-tokenizer/wik
2222
2. *On Mac* - ```Shift + Option + F```.
2323
3. *On Ubuntu* - ```Ctrl + Shift + I```.
2424

25+
### Editor Settings for Highlighting in Color Theme Extensions
26+
27+
Syntax highlighting is currently only enabled in built-in themes. This is because the 'Semantic Highlighting' used by XPath Embedded does not work well with some languages and some themes.
28+
29+
To enable syntax highighting for a custom theme you need to change User Settings. For example, to enable syntax highlighting for XSLT in the *City Lights* theme use:
30+
```json
31+
{
32+
"editor.tokenColorCustomizations": {
33+
"[City Lights]": {
34+
"semanticHighlighting": true
35+
}
36+
}
37+
}
38+
```
39+
2540
### Editor Settings For Formatting
2641
```json
2742
{

0 commit comments

Comments
 (0)