mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-07 10:51:36 +00:00
lazy: fix error on empty lz.n spec
This commit is contained in:
parent
b2d0a58252
commit
f9a422814d
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ in {
|
||||||
];
|
];
|
||||||
|
|
||||||
lazy.builtLazyConfig = ''
|
lazy.builtLazyConfig = ''
|
||||||
require('lz.n').load(${toLuaObject lznSpecs})
|
${optionalString (length lznSpecs > 0) "require('lz.n').load(${toLuaObject lznSpecs})"}
|
||||||
${optionalString cfg.enableLznAutoRequire "require('lzn-auto-require').enable()"}
|
${optionalString cfg.enableLznAutoRequire "require('lzn-auto-require').enable()"}
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue