helpers/vim-plugin/mkVimPlugin: refactor

This commit is contained in:
Gaetan Lepage 2024-02-09 14:21:22 +01:00 committed by Gaétan Lepage
parent 66c069c48d
commit 3c174e874c
20 changed files with 739 additions and 744 deletions

View file

@ -1,17 +1,14 @@
{
lib,
config,
helpers,
pkgs,
...
} @ attrs: let
helpers = import ../helpers.nix {inherit lib;};
in
with helpers.vim-plugin;
with lib;
mkVimPlugin attrs {
name = "nix";
description = "vim-nix";
package = pkgs.vimPlugins.vim-nix;
}:
helpers.vim-plugin.mkVimPlugin config {
name = "nix";
description = "vim-nix";
package = pkgs.vimPlugins.vim-nix;
# Possibly add option to disable Treesitter highlighting if this is installed
options = {};
}
# Possibly add option to disable Treesitter highlighting if this is installed
options = {};
}