From f7641b2e3545fdca40fb560526f8ae63f0b218c3 Mon Sep 17 00:00:00 2001 From: Adrian Stanciu Date: Wed, 7 Oct 2020 00:44:32 +0300 Subject: Update manual.adoc --- docs/user/manual.adoc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'docs') diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc index c1a778852..46e7bd091 100644 --- a/docs/user/manual.adoc +++ b/docs/user/manual.adoc @@ -397,6 +397,23 @@ It is possible to change the foreground/background color of inlay hints. Just ad } ---- +==== Semantic style customizations + +You can customize the look of different semantic elements in the source code. For example, mutable bindings are underlined by default and you can override this behavior by adding the following section to your `settings.json`: + +[source,jsonc] +---- +{ + "editor.semanticTokenColorCustomizations": { + "rules": { + "*.mutable": { + "fontStyle": "", // underline is the default + }, + } + }, +} +---- + ==== Special `when` clause context for keybindings. You may use `inRustProject` context to configure keybindings for rust projects only. For example: [source,json] -- cgit v1.2.3