2024-04-22 10:05:55 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
helpers,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
with lib;
|
2024-12-22 09:58:27 +00:00
|
|
|
lib.nixvim.plugins.mkVimPlugin {
|
2024-04-22 10:05:55 +02:00
|
|
|
name = "godot";
|
2024-12-13 08:27:14 -06:00
|
|
|
packPathName = "vim-godot";
|
2024-09-02 14:05:11 +01:00
|
|
|
package = "vim-godot";
|
2024-04-22 10:05:55 +02:00
|
|
|
globalPrefix = "godot_";
|
|
|
|
|
|
|
|
maintainers = [ maintainers.GaetanLepage ];
|
|
|
|
|
2025-04-07 23:43:23 +02:00
|
|
|
imports = [
|
|
|
|
# TODO: added 2025-04-07, remove after 25.05
|
|
|
|
(lib.nixvim.mkRemovedPackageOptionModule {
|
|
|
|
plugin = "godot";
|
|
|
|
packageName = "godot";
|
|
|
|
})
|
|
|
|
];
|
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
|
|
|
};
|
|
|
|
|
2025-04-07 23:43:23 +02:00
|
|
|
extraConfig = {
|
|
|
|
dependencies.godot.enable = lib.mkDefault true;
|
|
|
|
};
|
2024-04-22 10:05:55 +02:00
|
|
|
}
|