Update manual.adoc

This commit is contained in:
Adrian Stanciu 2020-10-07 00:44:32 +03:00 committed by GitHub
parent bf1043cac2
commit f7641b2e35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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. ==== Special `when` clause context for keybindings.
You may use `inRustProject` context to configure keybindings for rust projects only. For example: You may use `inRustProject` context to configure keybindings for rust projects only. For example:
[source,json] [source,json]