lib: remove helpers from internal usage

This commit is contained in:
Matt Sturgeon 2024-09-29 14:41:41 +01:00
parent 2c4e4681db
commit cd76b4feb8
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
7 changed files with 38 additions and 39 deletions

View file

@ -1,4 +1,4 @@
{ lib, helpers }:
{ lib }:
{
# TODO: DEPRECATED: use the `settings` option instead
extraOptionsOptions = {
@ -68,7 +68,7 @@
setupCode = ''
require('${luaName}')${setup}(${
lib.optionalString (cfg ? settings) (helpers.toLuaObject cfg.settings)
lib.optionalString (cfg ? settings) (lib.nixvim.toLuaObject cfg.settings)
})
'';
@ -106,7 +106,7 @@
};
}
// lib.optionalAttrs hasSettings {
settings = helpers.mkSettingsOption {
settings = lib.nixvim.mkSettingsOption {
description = settingsDescription;
options = settingsOptions;
example = settingsExample;