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 ? [],
|
||||
}: 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;
|
||||
|
|
Loading…
Reference in a new issue