Skip to content

Commit d168b78

Browse files
Merge pull request #102 from NuschtOS/fix-eval
Fix eval
2 parents 6f5934d + 036a6b1 commit d168b78

3 files changed

Lines changed: 11 additions & 12 deletions

File tree

flake.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@
3838
extraPackages = map (let
3939
mapping = with pkgs; {
4040
golangcilint = golangci-lint;
41-
jsonlint = nodePackages.jsonlint;
41+
jsonlint = nodePackages.jsonlint or python3Packages.demjson3;
4242
nix = config.nix.package;
4343
};
44-
in pkg: if lib.hasAttr pkg mapping then mapping.${pkg} else pkgs.${pkg})
44+
in pkg: mapping.${pkg} or pkgs.${pkg})
4545
(lib.flatten (lib.attrValues config.programs.nixvim.plugins.lint.lintersByFt));
4646
};
4747
}

modules/lsp.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
enable = true;
3131
servers = {
3232
angularls.enable = true;
33-
ansiblels.enable = true;
3433
bashls.enable = true;
3534
cssls.enable = true;
3635
docker_compose_language_service.enable = true;

0 commit comments

Comments
 (0)