File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,11 +37,11 @@ with lib;
37
37
defaultPackage ,
38
38
settingsOptions ? { } ,
39
39
settingsExample ? null ,
40
- settingsDescription ? "Options provided to the `require('${ luaName } '). ${ setupName } ` function." ,
40
+ settingsDescription ? "Options provided to the `require('${ luaName } ')${ setup } ` function." ,
41
41
extraOptions ? { } ,
42
42
# config
43
43
luaName ? name ,
44
- setupName ? "setup" ,
44
+ setup ? ". setup" ,
45
45
extraConfig ? cfg : { } ,
46
46
extraPlugins ? [ ] ,
47
47
extraPackages ? [ ] ,
@@ -107,7 +107,7 @@ with lib;
107
107
inherit extraPackages ;
108
108
109
109
${ extraConfigNamespace } = optionalString callSetup ''
110
- require('${ luaName } '). setup(${ toLuaObject cfg . settings } )
110
+ require('${ luaName } ')${ setup } (${ toLuaObject cfg . settings } )
111
111
'' ;
112
112
}
113
113
( optionalAttrs ( isColorscheme && ( colorscheme != null ) ) { colorscheme = mkDefault colorscheme ; } )
You can’t perform that action at this time.
0 commit comments