mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-29 20:04:28 +02:00
treewide: Reformat with nixfmt
This commit is contained in:
parent
c6281260dc
commit
62f32bfc71
459 changed files with 28139 additions and 26377 deletions
|
@ -6,36 +6,34 @@
|
|||
...
|
||||
}:
|
||||
with lib;
|
||||
helpers.vim-plugin.mkVimPlugin config {
|
||||
name = "godot";
|
||||
originalName = "vim-godot";
|
||||
defaultPackage = pkgs.vimPlugins.vim-godot;
|
||||
globalPrefix = "godot_";
|
||||
helpers.vim-plugin.mkVimPlugin config {
|
||||
name = "godot";
|
||||
originalName = "vim-godot";
|
||||
defaultPackage = pkgs.vimPlugins.vim-godot;
|
||||
globalPrefix = "godot_";
|
||||
|
||||
maintainers = [maintainers.GaetanLepage];
|
||||
maintainers = [ maintainers.GaetanLepage ];
|
||||
|
||||
extraOptions = {
|
||||
godotPackage = mkOption {
|
||||
type = with types; nullOr package;
|
||||
default = pkgs.godot_4;
|
||||
description = ''
|
||||
Which package to use for `godot`.
|
||||
Set to `null` to prevent the installation.
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
settingsOptions = {
|
||||
executable = helpers.defaultNullOpts.mkStr "godot" ''
|
||||
Path to the `godot` executable.
|
||||
extraOptions = {
|
||||
godotPackage = mkOption {
|
||||
type = with types; nullOr package;
|
||||
default = pkgs.godot_4;
|
||||
description = ''
|
||||
Which package to use for `godot`.
|
||||
Set to `null` to prevent the installation.
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
settingsExample = {
|
||||
executable = "godot";
|
||||
};
|
||||
settingsOptions = {
|
||||
executable = helpers.defaultNullOpts.mkStr "godot" ''
|
||||
Path to the `godot` executable.
|
||||
'';
|
||||
};
|
||||
|
||||
extraConfig = cfg: {
|
||||
extraPackages = [cfg.godotPackage];
|
||||
};
|
||||
}
|
||||
settingsExample = {
|
||||
executable = "godot";
|
||||
};
|
||||
|
||||
extraConfig = cfg: { extraPackages = [ cfg.godotPackage ]; };
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue