Skip to content

Commit dc2f335

Browse files
authored
Update README.md
1 parent 9dc1eba commit dc2f335

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,19 @@ 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 them you need to change User Settings. For example, to enable syntax highlighting for XSLT in the *City Lights* theme use:
30+
```json
31+
"editor.tokenColorCustomizations": {
32+
"[City Lights]": {
33+
"semanticHighlighting": true
34+
}
35+
}
36+
```
37+
2538
### Editor Settings For Formatting
2639
```json
2740
{

0 commit comments

Comments
 (0)