mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-30 22:57:55 +00:00
nixvim: update helper library usage
Hope nothing like this ever happen again. It's a pain to track where errors are coming from when debugging nixpkgs modules. T_T
This commit is contained in:
parent
9a5e6cb7f6
commit
ac4b36d550
@ -7,7 +7,7 @@ in
|
||||
options.plugins.dressing-nvim = {
|
||||
enable = lib.mkEnableOption "dressing.nvim configuration";
|
||||
|
||||
package = helpers.mkPackageOption "dressing.nvim" pkgs.vimPlugins.dressing-nvim;
|
||||
package = helpers.mkPluginPackageOption "dressing.nvim" pkgs.vimPlugins.dressing-nvim;
|
||||
|
||||
settings = lib.mkOption {
|
||||
type = with lib.types; attrsOf anything;
|
||||
|
@ -6,7 +6,9 @@ in
|
||||
{
|
||||
options.plugins.firenvim = {
|
||||
enable = lib.mkEnableOption "Firenvim";
|
||||
package = helpers.mkPackageOption "firenvim" pkgs.vimPlugins.firenvim;
|
||||
|
||||
package = helpers.mkPluginPackageOption "firenvim" pkgs.vimPlugins.firenvim;
|
||||
|
||||
settings = lib.mkOption {
|
||||
type = with lib.types; attrsOf anything;
|
||||
default = { };
|
||||
|
@ -9,7 +9,7 @@ in
|
||||
options.plugins.legendary-nvim = {
|
||||
enable = lib.mkEnableOption "legendary.nvim";
|
||||
|
||||
package = helpers.mkPackageOption "legendary.nvim" pkgs.vimPlugins.legendary-nvim;
|
||||
package = helpers.mkPluginPackageOption "legendary.nvim" pkgs.vimPlugins.legendary-nvim;
|
||||
|
||||
additionalSetup = mkEnableOption' "dependencies for additional features like frecency sorting";
|
||||
|
||||
|
@ -61,7 +61,7 @@ in
|
||||
options.colorschemes.lush = {
|
||||
enable = lib.mkEnableOption "theming with lush.nvim";
|
||||
|
||||
package = helpers.mkPackageOption "lush.nvim" pkgs.vimPlugins.lush-nvim;
|
||||
package = helpers.mkPluginPackageOption "lush.nvim" pkgs.vimPlugins.lush-nvim;
|
||||
|
||||
extraConfigLua = lib.mkOption {
|
||||
type = lib.types.lines;
|
||||
|
@ -8,7 +8,7 @@ in
|
||||
helpers.neovim-plugin.extraOptionsOptions // {
|
||||
enable = lib.mkEnableOption "nvim-config-local";
|
||||
|
||||
package = helpers.mkPackageOption "nvim-config-local" pkgs.vimPlugins.nvim-config-local;
|
||||
package = helpers.mkPluginPackageOption "nvim-config-local" pkgs.vimPlugins.nvim-config-local;
|
||||
|
||||
configFiles = lib.mkOption {
|
||||
type = with lib.types; listOf str;
|
||||
|
Loading…
Reference in New Issue
Block a user