mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 16:39:00 +02:00
misc: update inputs + make use of upstream plugins (#294)
This commit is contained in:
parent
7f50b54bfb
commit
e46b7302af
12 changed files with 45 additions and 353 deletions
|
@ -7,13 +7,12 @@
|
|||
with lib; let
|
||||
cfg = config.plugins.intellitab;
|
||||
helpers = import ../helpers.nix {inherit lib;};
|
||||
defs = import ../plugin-defs.nix {inherit pkgs;};
|
||||
in {
|
||||
options = {
|
||||
plugins.intellitab = {
|
||||
enable = mkEnableOption "intellitab.nvim";
|
||||
|
||||
package = helpers.mkPackageOption "intellitab.nvim" defs.intellitab-nvim;
|
||||
package = helpers.mkPackageOption "intellitab.nvim" pkgs.vimPlugins.intellitab-nvim;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
} @ args:
|
||||
with lib;
|
||||
with import ../helpers.nix {inherit lib;}; let
|
||||
plugins = import ../plugin-defs.nix {inherit pkgs;};
|
||||
optionWarnings = import ../../lib/option-warnings.nix args;
|
||||
basePluginPath = ["plugins" "magma-nvim"];
|
||||
in
|
||||
|
@ -55,7 +54,7 @@ in
|
|||
// mkPlugin args {
|
||||
name = "magma-nvim";
|
||||
description = "magma-nvim";
|
||||
package = plugins.magma-nvim;
|
||||
package = pkgs.vimPlugins.magma-nvim-goose;
|
||||
globalPrefix = "magma_";
|
||||
|
||||
options = {
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
with lib; let
|
||||
cfg = config.plugins.mark-radar;
|
||||
helpers = import ../helpers.nix {inherit lib;};
|
||||
defs = import ../plugin-defs.nix {inherit pkgs;};
|
||||
optionWarnings = import ../../lib/option-warnings.nix args;
|
||||
basePluginPath = ["plugins" "mark-radar"];
|
||||
in {
|
||||
|
@ -36,7 +35,7 @@ in {
|
|||
// {
|
||||
enable = mkEnableOption "mark-radar";
|
||||
|
||||
package = helpers.mkPackageOption "mark-radar" defs.mark-radar;
|
||||
package = helpers.mkPackageOption "mark-radar" pkgs.vimPlugins.mark-radar-nvim;
|
||||
|
||||
setDefaultMappings =
|
||||
helpers.defaultNullOpts.mkBool true
|
||||
|
|
|
@ -4,13 +4,13 @@
|
|||
pkgs,
|
||||
...
|
||||
} @ args: let
|
||||
defs = import ../plugin-defs.nix {inherit pkgs;};
|
||||
helpers = import ../helpers.nix args;
|
||||
in
|
||||
with lib; {
|
||||
options.plugins.netman = {
|
||||
enable = mkEnableOption "netman.nvim, a framework to access remote resources";
|
||||
package = helpers.mkPackageOption "netman.nvim" defs.netman-nvim;
|
||||
|
||||
package = helpers.mkPackageOption "netman.nvim" pkgs.vimPlugins.netman-nvim;
|
||||
|
||||
neoTreeIntegration = mkEnableOption "support for netman as a neo-tree source";
|
||||
};
|
||||
|
|
|
@ -4,13 +4,13 @@
|
|||
config,
|
||||
...
|
||||
} @ args: let
|
||||
plugin-defs = import ../plugin-defs.nix {inherit pkgs;};
|
||||
helpers = import ../helpers.nix args;
|
||||
in
|
||||
with lib; {
|
||||
options.plugins.nvim-osc52 = {
|
||||
enable = mkEnableOption "nvim-osc52, a plugin to use OSC52 sequences to copy/paste";
|
||||
package = helpers.mkPackageOption "nvim-osc52" plugin-defs.nvim-osc52;
|
||||
|
||||
package = helpers.mkPackageOption "nvim-osc52" pkgs.vimPlugins.nvim-osc52;
|
||||
|
||||
maxLength =
|
||||
helpers.defaultNullOpts.mkInt 0 "Maximum length of selection (0 for no limit)";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue