fix: invalid zls package

This commit is contained in:
NotAShelf 2023-05-01 18:32:47 +03:00
parent f9b15c97cd
commit b3b4f54c89
No known key found for this signature in database
GPG key ID: 05A3BD53FEB32B81

View file

@ -28,7 +28,7 @@ in {
package = mkOption { package = mkOption {
description = "ZLS package"; description = "ZLS package";
type = types.package; type = types.package;
default = pkgs.nodePackages.pyright; default = pkgs.zls;
}; };
zigPackage = mkOption { zigPackage = mkOption {
description = "Zig package used by ZLS"; description = "Zig package used by ZLS";
@ -37,7 +37,6 @@ in {
}; };
}; };
}; };
config = mkIf cfg.enable (mkMerge [ config = mkIf cfg.enable (mkMerge [
(mkIf cfg.treesitter.enable { (mkIf cfg.treesitter.enable {
vim.treesitter.enable = true; vim.treesitter.enable = true;