Skip to content

Commit f7641b2

Browse files
Update manual.adoc
1 parent bf1043c commit f7641b2

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/user/manual.adoc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,23 @@ It is possible to change the foreground/background color of inlay hints. Just ad
397397
}
398398
----
399399

400+
==== Semantic style customizations
401+
402+
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`:
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+
400417
==== Special `when` clause context for keybindings.
401418
You may use `inRustProject` context to configure keybindings for rust projects only. For example:
402419
[source,json]

0 commit comments

Comments
 (0)