plugins.zig.settings

The configuration options for zig without the zig_ prefix.

For example, the following settings are equivialent to these :setglobal commands:

  • foo_bar = 1 -> :setglobal zig_foo_bar=1
  • hello = "world" -> :setglobal zig_hello="world"
  • some_toggle = true -> :setglobal zig_some_toggle
  • other_toggle = false -> :setglobal nozig_other_toggle

Type: attribute set of anything

Default: { }

Example:

{
  fmt_autosave = false;
}

Declared by:

plugins.zig.settings.fmt_autosave

This plugin enables automatic code formatting on save by default using zig fmt. To disable it, you can set this option to false.

Plugin default: true

Type: null or boolean or raw lua code

Default: null

Declared by: