diff --git a/flake.nix b/flake.nix index 710c7c1..9cdb44e 100644 --- a/flake.nix +++ b/flake.nix @@ -46,9 +46,8 @@ disabled-diagnostics ? [], }: let partitions = builtins.partition (plugin: - builtins.hasAttr "vimPlugin" plugin - && plugin.vimPlugin - || plugin.pname == "nvim-treesitter") + plugin.vimPlugin or false + || plugin.pname or "" == "nvim-treesitter") plugins; nvim-plugins = partitions.right; rocks = partitions.wrong;