Skip to content

Commit 0d71b08

Browse files
Adopt semantic highlighting (#173)
Visual Studio Code version 1.44 introduced support [1] for semantic highlighting [2] that allows to assign colors and styles to tokens. Semantic highlighting enriches syntax coloring based on symbol information from the language service, which has more complete understanding of the project so the coloring changes appear once the language server is running and has computed the semantic tokens. The feature has been tested for some weeks and worked out-of-the-box without the need to change or add specific matchers or rules. See the [semantic highlighting guide][4] and [GitHub wiki][5] for more details. [1]: https://code.visualstudio.com/updates/v1_44#_semantic-tokens-provider-api [2]: https://code.visualstudio.com/docs/getstarted/themes#_semantic-highlighting [3]: https://code.visualstudio.com/api/language-extensions/semantic-highlight-guide#theming [4]: https://code.visualstudio.com/api/language-extensions/semantic-highlight-guide#theming [5]: https://github.com/microsoft/vscode/wiki/Semantic-Highlighting-Overview Closes GH-172
1 parent 74b3cac commit 0d71b08

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

themes/nord-color-theme.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "Nord",
33
"type": "dark",
4+
"semanticHighlighting": true,
45
"colors": {
56
"focusBorder": "#3b4252",
67
"foreground": "#d8dee9",

0 commit comments

Comments
 (0)