plugins.lint.enable
Whether to enable nvim-lint.
Type: boolean
Default:
false
Example:
true
Declared by:
plugins.lint.package
The nvim-lint package to use.
Type: package
Default:
pkgs.vimPlugins.nvim-lint
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.
Type: attribute set of list of string
Default:
{ }
Example:
{
clojure = [
"clj-kondo"
];
dockerfile = [
"hadolint"
];
inko = [
"inko"
];
janet = [
"janet"
];
json = [
"jsonlint"
];
markdown = [
"vale"
];
rst = [
"vale"
];
ruby = [
"ruby"
];
terraform = [
"tflint"
];
text = [
"vale"
];
}
Declared by: