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 = 0;
}

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 0.

Type: null or (one of 0, 1) or raw lua code

Default: null

Plugin default: 1

Declared by: