plugins.lint.enable

Whether to enable nvim-lint.

Type: boolean

Default: false

Example: true

Declared by:

plugins.lint.package

Which package to use for the nvim-lint plugin.

Type: package

Default: <derivation vimplugin-nvim-lint-2024-05-16>

Declared by:

plugins.lint.customLinters

Configure the linters you want to run per file type. It can be both an attrs or a string containing the lua code that returns the appropriate table.

Type: attribute set of (string or (attribute set))

Default: { }

Example: { }

Declared by:

plugins.lint.extraOptions

These attributes will be added to the table parameter for the setup function. Typically, it can override NixVim’s default settings.

Type: attribute set of anything

Default: { }

Declared by:

plugins.lint.lintersByFt

Configure the linters you want to run per file type.

Default:

  {
    text = ["vale"];
    json = ["jsonlint"];
    markdown = ["vale"];
    rst = ["vale"];
    ruby = ["ruby"];
    janet = ["janet"];
    inko = ["inko"];
    clojure = ["clj-kondo"];
    dockerfile = ["hadolint"];
    terraform = ["tflint"];
  }

Type: attribute set of list of string

Default: { }

Example:

{
  markdown = [
    "vale"
  ];
}

Declared by: