[feat] neovim: add more linters

This commit is contained in:
Jalil David Salamé Messina 2024-06-01 16:24:05 +02:00
parent a639e4e214
commit 41ae208e61
Signed by: jalil
GPG key ID: F016B9E770737A0B
2 changed files with 9 additions and 7 deletions

View file

@ -61,14 +61,16 @@ in {
plugins.nvim-web-devicons
jjdescription
];
# Formatting
# Formatting & linters
extraPackages = [
pkgs.unstable.alejandra
pkgs.unstable.luajitPackages.jsregexp
pkgs.unstable.statix
pkgs.unstable.stylua
pkgs.unstable.shfmt
pkgs.unstable.taplo
pkgs.unstable.typos
pkgs.unstable.yamlfmt
pkgs.unstable.alejandra
pkgs.unstable.luajitPackages.jsregexp
];
extraConfigLuaPre = ''
-- Lua Pre Config

View file

@ -212,11 +212,11 @@
enable = true;
lintersByFt = {
rust = ["typos"];
latex = [
"chktex"
"typos"
];
latex = ["chktex" "typos"];
markdown = ["typos"];
nix = ["statix"];
sh = ["dash"];
zsh = ["zsh"];
};
};
}