Add linter
This commit is contained in:
parent
73d8d5f3ef
commit
11fd60c89a
1 changed files with 19 additions and 0 deletions
|
@ -136,6 +136,25 @@
|
||||||
cmp-path.enable = true;
|
cmp-path.enable = true;
|
||||||
cmp-nvim-lsp.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
|
# Popup to show shortcuts
|
||||||
which-key = {
|
which-key = {
|
||||||
|
|
Loading…
Reference in a new issue