misc: update inputs + make use of upstream plugins (#294)

This commit is contained in:
Gaétan Lepage 2023-03-26 15:44:45 +02:00 committed by GitHub
parent 7f50b54bfb
commit e46b7302af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 45 additions and 353 deletions

View file

@ -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)";