plugins.rust-tools.server.inlayHints.discriminantHints.enable

Whether to show enum variant discriminant hints.

Values:

  • always: Always show all discriminant hints.
  • never: Never show discriminant hints.
  • fieldless: Only show discriminant hints on fieldless enum variants.

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

Default: null

Plugin default: "never"

Declared by: