plugins.rust-tools.server.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"

Declared by:

plugins.rust-tools.server.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

Declared by: