plugins.conform-nvim.settings.default_format_opts

The default options to use when calling conform.format().

Type: null or (attribute set of anything)

Default: null

Plugin default: { }

Declared by:

plugins.conform-nvim.settings.default_format_opts.lsp_format

Option for choosing lsp formatting preference.

  • never: never use the LSP for formatting.
  • fallback: LSP formatting is used when no other formatters are available.
  • prefer: Use only LSP formatting when available.
  • first: LSP formatting is used when available and then other formatters.
  • last: Other formatters are used then LSP formatting when available.

Type: null or one of “never”, “fallback”, “prefer”, “first”, “last” or raw lua code

Default: null

Plugin default: "never"

Declared by:

plugins.conform-nvim.settings.default_format_opts.quiet

Don’t show any notifications for warnings or failures.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.conform-nvim.settings.default_format_opts.stop_after_first

Only run the first available formatter in the list.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.conform-nvim.settings.default_format_opts.timeout_ms

Time in milliseconds to block for formatting.

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

Default: null

Plugin default: 1000

Declared by: