mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-24 17:58:38 +02:00
plugins/helm: init
This commit is contained in:
parent
90b07f5359
commit
9d3ff56ed8
3 changed files with 28 additions and 0 deletions
|
@ -47,6 +47,7 @@
|
|||
./languages/clangd-extensions.nix
|
||||
./languages/debugprint.nix
|
||||
./languages/haskell-scope-highlighting.nix
|
||||
./languages/helm.nix
|
||||
./languages/julia/julia-cell.nix
|
||||
./languages/lean.nix
|
||||
./languages/ledger.nix
|
||||
|
|
22
plugins/languages/helm.nix
Normal file
22
plugins/languages/helm.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
lib,
|
||||
helpers,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.plugins.helm;
|
||||
in {
|
||||
meta.maintainers = [maintainers.GaetanLepage];
|
||||
|
||||
options.plugins.helm = {
|
||||
enable = mkEnableOption "vim-helm";
|
||||
|
||||
package = helpers.mkPackageOption "vim-helm" pkgs.vimPlugins.vim-helm;
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
extraPlugins = [cfg.package];
|
||||
};
|
||||
}
|
5
tests/test-sources/plugins/languages/helm.nix
Normal file
5
tests/test-sources/plugins/languages/helm.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.helm.enable = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue