Add linter

This commit is contained in:
albert 2024-02-17 17:46:00 +09:00
parent 73d8d5f3ef
commit 11fd60c89a
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A

View file

@ -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