Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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

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

Type: boolean

Default:

false

Example:

true

Declared by:

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

The yapf package to use.

Type: null or package

Default:

pkgs.yapf

Declared by:

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

Options provided to the require('null-ls').builtins.formatting.yapf.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: