[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
|
plugins.nvim-web-devicons
|
||||||
jjdescription
|
jjdescription
|
||||||
];
|
];
|
||||||
# Formatting
|
# Formatting & linters
|
||||||
extraPackages = [
|
extraPackages = [
|
||||||
|
pkgs.unstable.alejandra
|
||||||
|
pkgs.unstable.luajitPackages.jsregexp
|
||||||
|
pkgs.unstable.statix
|
||||||
pkgs.unstable.stylua
|
pkgs.unstable.stylua
|
||||||
pkgs.unstable.shfmt
|
pkgs.unstable.shfmt
|
||||||
pkgs.unstable.taplo
|
pkgs.unstable.taplo
|
||||||
|
pkgs.unstable.typos
|
||||||
pkgs.unstable.yamlfmt
|
pkgs.unstable.yamlfmt
|
||||||
pkgs.unstable.alejandra
|
|
||||||
pkgs.unstable.luajitPackages.jsregexp
|
|
||||||
];
|
];
|
||||||
extraConfigLuaPre = ''
|
extraConfigLuaPre = ''
|
||||||
-- Lua Pre Config
|
-- Lua Pre Config
|
||||||
|
|
|
@ -212,11 +212,11 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
lintersByFt = {
|
lintersByFt = {
|
||||||
rust = ["typos"];
|
rust = ["typos"];
|
||||||
latex = [
|
latex = ["chktex" "typos"];
|
||||||
"chktex"
|
|
||||||
"typos"
|
|
||||||
];
|
|
||||||
markdown = ["typos"];
|
markdown = ["typos"];
|
||||||
|
nix = ["statix"];
|
||||||
|
sh = ["dash"];
|
||||||
|
zsh = ["zsh"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue