fix: check for pname attr
This commit is contained in:
parent
e4a9896643
commit
6eb62734da
1 changed files with 2 additions and 3 deletions
|
@ -46,9 +46,8 @@
|
||||||
disabled-diagnostics ? [],
|
disabled-diagnostics ? [],
|
||||||
}: let
|
}: let
|
||||||
partitions = builtins.partition (plugin:
|
partitions = builtins.partition (plugin:
|
||||||
builtins.hasAttr "vimPlugin" plugin
|
plugin.vimPlugin or false
|
||||||
&& plugin.vimPlugin
|
|| plugin.pname or "" == "nvim-treesitter")
|
||||||
|| plugin.pname == "nvim-treesitter")
|
|
||||||
plugins;
|
plugins;
|
||||||
nvim-plugins = partitions.right;
|
nvim-plugins = partitions.right;
|
||||||
rocks = partitions.wrong;
|
rocks = partitions.wrong;
|
||||||
|
|
Loading…
Reference in a new issue