forked from LGUG2Z/JeezyVim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnone-ls.nix
42 lines (40 loc) · 1.46 KB
/
none-ls.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{ pkgs, ... }:
{
plugins.none-ls = {
enable = pkgs.lib.mkDefault true;
sources = {
code_actions = {
statix.enable = pkgs.lib.mkDefault true;
};
diagnostics = {
stylelint.enable = pkgs.lib.mkDefault true;
statix.enable = pkgs.lib.mkDefault true;
sqlfluff.enable = pkgs.lib.mkDefault true;
rubocop.enable = pkgs.lib.mkDefault true;
pylint.enable = pkgs.lib.mkDefault true;
mypy.enable = pkgs.lib.mkDefault true;
markdownlint.enable = pkgs.lib.mkDefault true;
hadolint.enable = pkgs.lib.mkDefault true;
fish.enable = pkgs.lib.mkDefault true;
dotenv_linter.enable = pkgs.lib.mkDefault true;
deadnix.enable = pkgs.lib.mkDefault true;
trail_space.enable = pkgs.lib.mkDefault true;
};
formatting = {
stylua.enable = pkgs.lib.mkDefault true;
nixfmt = {
enable = pkgs.lib.mkDefault true;
package = pkgs.lib.mkDefault pkgs.nixfmt-rfc-style; # to be consistent with nixpkgs
};
shfmt.enable = pkgs.lib.mkDefault true;
gofmt.enable = pkgs.lib.mkDefault true;
black.enable = pkgs.lib.mkDefault true;
isort.enable = pkgs.lib.mkDefault true;
prettier.enable = pkgs.lib.mkDefault true;
prettier.disableTsServerFormatter = pkgs.lib.mkDefault true;
typstfmt.enable = pkgs.lib.mkDefault true;
terraform_fmt.enable = pkgs.lib.mkDefault true;
};
};
};
}