plugins.rust-tools.inlayHints.auto

automatically set inlay hints (type hints)

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

plugins.rust-tools.inlayHints.highlight

The color of the hints

Type: null or string or raw lua code

Default: null

Plugin default: "Comment"

Declared by:

plugins.rust-tools.inlayHints.maxLenAlign

whether to align to the length of the longest line in the file

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.rust-tools.inlayHints.maxLenAlignPadding

padding from the left if max_len_align is true

Type: null or unsigned integer, meaning >=0, or raw lua code

Default: null

Plugin default: 1

Declared by:

plugins.rust-tools.inlayHints.onlyCurrentLine

Only show for current line

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.rust-tools.inlayHints.otherHintsPrefix

prefix for all the other hints (type, chaining)

Type: null or string or raw lua code

Default: null

Plugin default: "=> "

Declared by:

plugins.rust-tools.inlayHints.parameterHintsPrefix

prefix for parameter hints

Type: null or string or raw lua code

Default: null

Plugin default: "<- "

Declared by:

plugins.rust-tools.inlayHints.rightAlign

whether to align to the extreme right or not

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.rust-tools.inlayHints.rightAlignPadding

padding from the right if right_align is true

Type: null or signed integer or floating point number or raw lua code

Default: null

Plugin default: 7

Declared by:

plugins.rust-tools.inlayHints.showParameterHints

whether to show parameter hints with the inlay hints or not

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by: