plugins.rustaceanvim.settings.server.default_settings.rust-analyzer.inlayHints.lifetimeElisionHints.enable

Whether to show inlay type hints for elided lifetimes in function signatures.

Values:

  • always: Always show lifetime elision hints.
  • never: Never show lifetime elision hints.
  • skip_trivial: Only show lifetime elision hints if a return type is involved.

Type: null or one of “always”, “never”, “skip_trivial”

Default: null

Plugin default: "never"

plugins.rustaceanvim.settings.server.default_settings.rust-analyzer.inlayHints.lifetimeElisionHints.useParameterNames

Whether to prefer using parameter names as the name for elided lifetime hints if possible.

Type: null or boolean

Default: null

Plugin default: false