plugins/hmts: move source file and test from 'utils' to 'languages/treesitter'

This commit is contained in:
Gaetan Lepage 2024-01-26 15:32:13 +01:00 committed by Gaétan Lepage
parent 6b0f03e4a1
commit 889144c0b1
3 changed files with 1 additions and 1 deletions

View file

@ -0,0 +1,22 @@
{
lib,
helpers,
config,
pkgs,
...
}:
with lib; let
cfg = config.plugins.hmts;
in {
options.plugins.hmts =
helpers.extraOptionsOptions
// {
enable = mkEnableOption "hmts.nvim";
package = helpers.mkPackageOption "hmts.nvim" pkgs.vimPlugins.hmts-nvim;
};
config = mkIf cfg.enable {
extraPlugins = [cfg.package];
};
}