From 0d71b08638e8d1f8fdceafeede813024d5ee4f0e Mon Sep 17 00:00:00 2001 From: Arctic Ice Studio Date: Tue, 16 Jun 2020 20:05:55 +0200 Subject: [PATCH] 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 --- themes/nord-color-theme.json | 1 + 1 file changed, 1 insertion(+) diff --git a/themes/nord-color-theme.json b/themes/nord-color-theme.json index 230e237..d375149 100644 --- a/themes/nord-color-theme.json +++ b/themes/nord-color-theme.json @@ -1,6 +1,7 @@ { "name": "Nord", "type": "dark", + "semanticHighlighting": true, "colors": { "focusBorder": "#3b4252", "foreground": "#d8dee9",