aboutsummaryrefslogtreecommitdiff
path: root/docs/user
diff options
context:
space:
mode:
authorAdrian Stanciu <[email protected]>2020-10-06 22:44:32 +0100
committerGitHub <[email protected]>2020-10-06 22:44:32 +0100
commitf7641b2e3545fdca40fb560526f8ae63f0b218c3 (patch)
tree7b9ee41e2380152daaea3edf0faa6557323dfef6 /docs/user
parentbf1043cac2f3cc2264d9fcda242f63616f4efa1b (diff)
Update manual.adoc
Diffstat (limited to 'docs/user')
-rw-r--r--docs/user/manual.adoc17
1 files changed, 17 insertions, 0 deletions
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
397} 397}
398---- 398----
399 399
400==== Semantic style customizations
401
402You 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`:
403
404[source,jsonc]
405----
406{
407 "editor.semanticTokenColorCustomizations": {
408 "rules": {
409 "*.mutable": {
410 "fontStyle": "", // underline is the default
411 },
412 }
413 },
414}
415----
416
400==== Special `when` clause context for keybindings. 417==== Special `when` clause context for keybindings.
401You may use `inRustProject` context to configure keybindings for rust projects only. For example: 418You may use `inRustProject` context to configure keybindings for rust projects only. For example:
402[source,json] 419[source,json]