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,10 +144,8 @@ in
|
|||
default = { };
|
||||
description = ''
|
||||
Configure the linters you want to run per file type.
|
||||
|
||||
Default:
|
||||
```nix
|
||||
{
|
||||
'';
|
||||
example = {
|
||||
text = [ "vale" ];
|
||||
json = [ "jsonlint" ];
|
||||
markdown = [ "vale" ];
|
||||
|
@ -158,11 +156,6 @@ in
|
|||
clojure = [ "clj-kondo" ];
|
||||
dockerfile = [ "hadolint" ];
|
||||
terraform = [ "tflint" ];
|
||||
}
|
||||
```
|
||||
'';
|
||||
example = {
|
||||
markdown = [ "vale" ];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue