nix-community.nixvim/plugins/languages/godot.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
630 B
Nix
Raw Normal View History

2024-04-22 10:05:55 +02:00
{
lib,
helpers,
pkgs,
...
}:
with lib;
helpers.vim-plugin.mkVimPlugin {
2024-04-22 10:05:55 +02:00
name = "godot";
originalName = "vim-godot";
defaultPackage = pkgs.vimPlugins.vim-godot;
globalPrefix = "godot_";
maintainers = [ maintainers.GaetanLepage ];
extraOptions = {
godotPackage = helpers.mkPackageOption {
name = "godot";
2024-04-22 10:05:55 +02:00
default = pkgs.godot_4;
};
2024-05-05 19:39:35 +02:00
};
2024-04-22 10:05:55 +02:00
settingsOptions = {
executable = helpers.defaultNullOpts.mkStr "godot" ''
Path to the `godot` executable.
'';
};
settingsExample = {
executable = "godot";
2024-05-05 19:39:35 +02:00
};
2024-04-23 16:41:27 +02:00
extraConfig = cfg: { extraPackages = [ cfg.godotPackage ]; };
2024-04-22 10:05:55 +02:00
}