plugins.rust-tools.inlayHints.auto

automatically set inlay hints (type hints)

Plugin default: true

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.rust-tools.inlayHints.highlight

The color of the hints

Plugin default: "Comment"

Type: null or string or raw lua code

Default: null

Declared by:

plugins.rust-tools.inlayHints.maxLenAlign

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

Plugin default: false

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.rust-tools.inlayHints.maxLenAlignPadding

padding from the left if max_len_align is true

Plugin default: 1

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

Default: null

Declared by:

plugins.rust-tools.inlayHints.onlyCurrentLine

Only show for current line

Plugin default: false

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.rust-tools.inlayHints.otherHintsPrefix

prefix for all the other hints (type, chaining)

Plugin default: "=> "

Type: null or string or raw lua code

Default: null

Declared by:

plugins.rust-tools.inlayHints.parameterHintsPrefix

prefix for parameter hints

Plugin default: "<- "

Type: null or string or raw lua code

Default: null

Declared by:

plugins.rust-tools.inlayHints.rightAlign

whether to align to the extreme right or not

Plugin default: false

Type: null or boolean or raw lua code

Default: null

Declared by:

plugins.rust-tools.inlayHints.rightAlignPadding

padding from the right if right_align is true

Plugin default: 7

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

Default: null

Declared by:

plugins.rust-tools.inlayHints.showParameterHints

whether to show parameter hints with the inlay hints or not

Plugin default: true

Type: null or boolean or raw lua code

Default: null

Declared by: