mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-23 17:28:39 +02:00
plugins/hmts: move source file and test from 'utils' to 'languages/treesitter'
This commit is contained in:
parent
6b0f03e4a1
commit
889144c0b1
3 changed files with 1 additions and 1 deletions
22
plugins/languages/treesitter/hmts.nix
Normal file
22
plugins/languages/treesitter/hmts.nix
Normal 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];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue