mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
plugins/lint: fix inconsistent description + examples
This commit is contained in:
parent
9af4c3970c
commit
7e3ed24e52
1 changed files with 9 additions and 16 deletions
|
@ -144,25 +144,18 @@ in
|
||||||
default = { };
|
default = { };
|
||||||
description = ''
|
description = ''
|
||||||
Configure the linters you want to run per file type.
|
Configure the linters you want to run per file type.
|
||||||
|
|
||||||
Default:
|
|
||||||
```nix
|
|
||||||
{
|
|
||||||
text = ["vale"];
|
|
||||||
json = ["jsonlint"];
|
|
||||||
markdown = ["vale"];
|
|
||||||
rst = ["vale"];
|
|
||||||
ruby = ["ruby"];
|
|
||||||
janet = ["janet"];
|
|
||||||
inko = ["inko"];
|
|
||||||
clojure = ["clj-kondo"];
|
|
||||||
dockerfile = ["hadolint"];
|
|
||||||
terraform = ["tflint"];
|
|
||||||
}
|
|
||||||
```
|
|
||||||
'';
|
'';
|
||||||
example = {
|
example = {
|
||||||
|
text = [ "vale" ];
|
||||||
|
json = [ "jsonlint" ];
|
||||||
markdown = [ "vale" ];
|
markdown = [ "vale" ];
|
||||||
|
rst = [ "vale" ];
|
||||||
|
ruby = [ "ruby" ];
|
||||||
|
janet = [ "janet" ];
|
||||||
|
inko = [ "inko" ];
|
||||||
|
clojure = [ "clj-kondo" ];
|
||||||
|
dockerfile = [ "hadolint" ];
|
||||||
|
terraform = [ "tflint" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue