mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-27 11:08:53 +02:00
lib/helpers: extraOptionsOptions -> neovim-plugin.extraOptionsOptions
This commit is contained in:
parent
8b91bf010a
commit
e2c3459d1d
89 changed files with 103 additions and 97 deletions
|
@ -9,7 +9,7 @@ with lib; let
|
|||
cfg = config.plugins.auto-save;
|
||||
in {
|
||||
options.plugins.auto-save =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "auto-save";
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ with lib; let
|
|||
cfg = config.plugins.auto-session;
|
||||
in {
|
||||
options.plugins.auto-session =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "auto-session";
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ with lib; let
|
|||
cfg = config.plugins.better-escape;
|
||||
in {
|
||||
options.plugins.better-escape =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "better-escape.nvim";
|
||||
|
||||
|
|
|
@ -85,7 +85,7 @@ in {
|
|||
meta.maintainers = [maintainers.GaetanLepage];
|
||||
|
||||
options.plugins.clipboard-image =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "clipboard-image.nvim";
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@ with lib; let
|
|||
};
|
||||
in {
|
||||
options.plugins.coverage =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "nvim-coverage";
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ with lib; let
|
|||
cfg = config.plugins.cursorline;
|
||||
in {
|
||||
options.plugins.cursorline =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "nvim-cursorline";
|
||||
|
||||
|
|
|
@ -238,7 +238,7 @@ in {
|
|||
};
|
||||
};
|
||||
in
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "flash.nvim";
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ with lib; let
|
|||
in {
|
||||
options = {
|
||||
plugins.hardtime =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "hardtime";
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ with lib; let
|
|||
};
|
||||
in {
|
||||
options.plugins.harpoon =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "harpoon";
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ with lib; let
|
|||
in {
|
||||
options.plugins.illuminate = with helpers;
|
||||
with defaultNullOpts;
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "vim-illuminate";
|
||||
|
||||
|
|
|
@ -75,7 +75,7 @@ in {
|
|||
);
|
||||
|
||||
options.plugins.indent-blankline =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "indent-blankline.nvim";
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
in
|
||||
with lib; {
|
||||
options.plugins.lastplace =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "lastplace";
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ with lib; let
|
|||
cfg = config.plugins.leap;
|
||||
in {
|
||||
options.plugins.leap =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "leap.nvim";
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ with lib; let
|
|||
cfg = config.plugins.mark-radar;
|
||||
in {
|
||||
options.plugins.mark-radar =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "mark-radar";
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ in {
|
|||
meta.maintainers = [maintainers.GaetanLepage];
|
||||
|
||||
options.plugins.marks =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "marks.nvim";
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ with lib; let
|
|||
cfg = config.plugins.mkdnflow;
|
||||
in {
|
||||
options.plugins.mkdnflow =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "mkdnflow.nvim";
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ with lib; let
|
|||
in {
|
||||
options = {
|
||||
plugins.multicursors =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "multicursors.nvim";
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ with lib; let
|
|||
mkPercentageOpt = default: helpers.defaultNullOpts.mkNullable percentageType (toString default);
|
||||
in {
|
||||
options.plugins.navbuddy =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "nvim-navbuddy";
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ with lib; let
|
|||
};
|
||||
in {
|
||||
options.plugins.neogen =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "neogen";
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
in
|
||||
with lib; {
|
||||
options.plugins.neorg =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "neorg";
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ with lib; let
|
|||
cfg = config.plugins.nix-develop;
|
||||
in {
|
||||
options.plugins.nix-develop =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "nix-develop.nvim";
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ with lib; let
|
|||
cfg = config.plugins.notify;
|
||||
in {
|
||||
options.plugins.notify =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "nvim-notify";
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ with lib; let
|
|||
cfg = config.plugins.nvim-autopairs;
|
||||
in {
|
||||
options.plugins.nvim-autopairs =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "nvim-autopairs";
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ with lib; let
|
|||
cfg = config.plugins.nvim-bqf;
|
||||
in {
|
||||
options.plugins.nvim-bqf =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "nvim-bqf";
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ with lib; let
|
|||
cfg = config.plugins.nvim-ufo;
|
||||
in {
|
||||
options.plugins.nvim-ufo =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "nvim-ufo";
|
||||
|
||||
|
|
|
@ -438,7 +438,7 @@ in {
|
|||
meta.maintainers = [maintainers.GaetanLepage];
|
||||
|
||||
options.plugins.obsidian =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "obsidian.nvim";
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ with lib; let
|
|||
};
|
||||
in {
|
||||
options.plugins.oil =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "oil";
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ in {
|
|||
meta.maintainers = [maintainers.GaetanLepage];
|
||||
|
||||
options.plugins.ollama =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "ollama.nvim";
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
}:
|
||||
with lib; {
|
||||
options.plugins.persistence =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "persistence.nvim";
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ with lib; let
|
|||
in {
|
||||
options = {
|
||||
plugins.presence-nvim =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "presence-nvim";
|
||||
package = helpers.mkPackageOption "presence-nvim" pkgs.vimPlugins.presence-nvim;
|
||||
|
|
|
@ -9,7 +9,7 @@ with lib; let
|
|||
cfg = config.plugins.project-nvim;
|
||||
in {
|
||||
options.plugins.project-nvim =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "project.nvim";
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
}:
|
||||
with lib; {
|
||||
options.plugins.refactoring =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "refactoring.nvim";
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ in {
|
|||
meta.maintainers = [maintainers.GaetanLepage];
|
||||
|
||||
options.plugins.rest =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "rest.nvim";
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ with lib; let
|
|||
cfg = config.plugins.${pluginName};
|
||||
in {
|
||||
options.plugins.${pluginName} =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption pluginName;
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ in {
|
|||
meta.maintainers = [maintainers.GaetanLepage];
|
||||
|
||||
options.plugins.startup =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "startup.nvim";
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ in {
|
|||
];
|
||||
options = {
|
||||
plugins.todo-comments =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "todo-comments";
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ in {
|
|||
];
|
||||
|
||||
options.plugins.wilder =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "wilder-nvim";
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ with lib; let
|
|||
cfg = config.plugins.yanky;
|
||||
in {
|
||||
options.plugins.yanky =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
enable = mkEnableOption "yanky.nvim";
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ with lib; {
|
|||
|
||||
lsp = {
|
||||
config =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
cmd = helpers.defaultNullOpts.mkNullable (types.listOf types.str) ''["zk" "lsp"]'' "";
|
||||
name = helpers.defaultNullOpts.mkStr "zk" "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue