plugins.none-ls.sources.formatting.forge_fmt.enable

Whether to enable the forge_fmt formatting source for none-ls.

Type: boolean

Default: false

Example: true

Declared by:

plugins.none-ls.sources.formatting.forge_fmt.package

Package to use for forge_fmt.

Currently not packaged in nixpkgs. Either set this to null and install forge_fmt outside of nix, or set this to a custom nix package.

Type: null or package

Declared by:

plugins.none-ls.sources.formatting.forge_fmt.settings

Options provided to the require('null-ls').builtins.formatting.forge_fmt.with function.

See upstream’s BUILTIN_CONFIG documentation.

Type: null or lua code string or attribute set of anything

Default: null

Example:

{
  disabled_filetypes = [
    "lua"
  ];
  extra_args = [
    "-i"
    "2"
    "-ci"
  ];
  extra_filetypes = [
    "toml"
  ];
}

Declared by: