Add config options

This commit is contained in:
Jorge Mederos Alvarado 2021-04-21 17:14:17 -04:00
parent 9e5ef0ce72
commit c4dba4077f
2 changed files with 7 additions and 0 deletions

View file

@ -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.

View file

@ -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`)::
+
--