File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ config_data! {
259259 /// Whether to show inlay type hints for compiler inserted reborrows.
260260 inlayHints_reborrowHints: bool = "false" ,
261261 /// Whether to show inlay type hints for elided lifetimes in function signatures.
262- inlayHints_lifetimeElisionHints : LifetimeElisionDef = "\" never\" " ,
262+ inlayHints_lifetimeElisionHints_enable : LifetimeElisionDef = "\" never\" " ,
263263 /// Whether to prefer using parameter names as the name for elided lifetime hints if possible.
264264 inlayHints_lifetimeElisionHints_useParameterNames: bool = "false" ,
265265 /// Whether to hide inlay hints for constructors.
@@ -862,7 +862,7 @@ impl Config {
862862 parameter_hints : self . data . inlayHints_parameterHints ,
863863 chaining_hints : self . data . inlayHints_chainingHints ,
864864 closure_return_type_hints : self . data . inlayHints_closureReturnTypeHints ,
865- lifetime_elision_hints : match self . data . inlayHints_lifetimeElisionHints {
865+ lifetime_elision_hints : match self . data . inlayHints_lifetimeElisionHints_enable {
866866 LifetimeElisionDef :: Always => LifetimeElisionHints :: Always ,
867867 LifetimeElisionDef :: Never => LifetimeElisionHints :: Never ,
868868 LifetimeElisionDef :: SkipTrivial => LifetimeElisionHints :: SkipTrivial ,
Original file line number Diff line number Diff line change @@ -383,7 +383,7 @@ Whether to show inlay type hints for return types of closures with blocks.
383383--
384384Whether to show inlay type hints for compiler inserted reborrows.
385385--
386- [[rust-analyzer.inlayHints.lifetimeElisionHints]]rust-analyzer.inlayHints.lifetimeElisionHints (default: `"never"` )::
386+ [[rust-analyzer.inlayHints.lifetimeElisionHints.enable ]]rust-analyzer.inlayHints.lifetimeElisionHints.enable (default: `"never"` )::
387387+
388388--
389389Whether to show inlay type hints for elided lifetimes in function signatures.
Original file line number Diff line number Diff line change 800800 "default" : false ,
801801 "type" : " boolean"
802802 },
803- "rust-analyzer.inlayHints.lifetimeElisionHints" : {
803+ "rust-analyzer.inlayHints.lifetimeElisionHints.enable " : {
804804 "markdownDescription" : " Whether to show inlay type hints for elided lifetimes in function signatures." ,
805805 "default" : " never" ,
806806 "type" : " string" ,
You can’t perform that action at this time.
0 commit comments