plugins.rust-tools.server.inlayHints.closureStyle

Closure notation in type and chaining inlay hints.

Values:

  • impl_fn: impl_fn: impl FnMut(i32, u64) -> i8
  • rust_analyzer: rust_analyzer: |i32, u64| -> i8
  • with_id: with_id: {closure#14352}, where that id is the unique number of the closure in r-a internals
  • hide: hide: Shows ... for every closure type
"impl_fn"

Type: null or one of “impl_fn”, “rust_analyzer”, “with_id”, “hide”

Default: null

Declared by:

plugins.rust-tools.server.inlayHints.maxLength

Maximum length for inlay hints. Set to null to have an unlimited length.

default:

25

Type: null or null or signed integer

Default: null

Declared by:

plugins.rust-tools.server.inlayHints.renderColons

Whether to render leading colons for type hints, and trailing colons for parameter hints.

default:

true

Type: null or boolean

Default: null

Declared by: