mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-10 15:14:32 +00:00
Add config options
This commit is contained in:
parent
9e5ef0ce72
commit
c4dba4077f
2 changed files with 7 additions and 0 deletions
|
@ -145,6 +145,8 @@ config_data! {
|
|||
inlayHints_parameterHints: bool = "true",
|
||||
/// Whether to show inlay type hints for variables.
|
||||
inlayHints_typeHints: bool = "true",
|
||||
/// Whether inlay hints font size should be smaller than editor's font size.
|
||||
inlayHints_smallerHints: bool = "true",
|
||||
|
||||
/// Whether to show `Debug` lens. Only applies when
|
||||
/// `#rust-analyzer.lens.enable#` is set.
|
||||
|
|
|
@ -234,6 +234,11 @@ site.
|
|||
--
|
||||
Whether to show inlay type hints for variables.
|
||||
--
|
||||
[[rust-analyzer.inlayHints.smallerHints]]rust-analyzer.inlayHints.smallerHints (default: `true`)::
|
||||
+
|
||||
--
|
||||
Whether inlay hints font size should be smaller than editor's font size.
|
||||
--
|
||||
[[rust-analyzer.lens.debug]]rust-analyzer.lens.debug (default: `true`)::
|
||||
+
|
||||
--
|
||||
|
|
Loading…
Reference in a new issue