[feat] neovim: add more linters
This commit is contained in:
parent
a639e4e214
commit
41ae208e61
2 changed files with 9 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -212,11 +212,11 @@
|
|||
enable = true;
|
||||
lintersByFt = {
|
||||
rust = ["typos"];
|
||||
latex = [
|
||||
"chktex"
|
||||
"typos"
|
||||
];
|
||||
latex = ["chktex" "typos"];
|
||||
markdown = ["typos"];
|
||||
nix = ["statix"];
|
||||
sh = ["dash"];
|
||||
zsh = ["zsh"];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue