Add linter
This commit is contained in:
parent
73d8d5f3ef
commit
11fd60c89a
1 changed files with 19 additions and 0 deletions
|
@ -135,6 +135,25 @@
|
|||
cmp-buffer.enable = true;
|
||||
cmp-path.enable = true;
|
||||
cmp-nvim-lsp.enable = true;
|
||||
|
||||
# List of linters for nixvim
|
||||
lint = {
|
||||
enable = true;
|
||||
lintersByFt = {
|
||||
text = ["vale"];
|
||||
json = ["jsonlint"];
|
||||
markdown = ["vale"];
|
||||
rst = ["vale"];
|
||||
ruby = ["ruby"];
|
||||
janet = ["janet"];
|
||||
inko = ["inko"];
|
||||
clojure = ["clj-kondo"];
|
||||
dockerfile = ["hadolint"];
|
||||
terraform = ["tflint"];
|
||||
yaml = ["yamllint"];
|
||||
nix = ["nix"];
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
# Popup to show shortcuts
|
||||
|
|
Loading…
Reference in a new issue