mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-12 18:24:35 +02:00
treewide: Reformat with nixfmt
This commit is contained in:
parent
c6281260dc
commit
62f32bfc71
459 changed files with 28139 additions and 26377 deletions
|
@ -8,26 +8,24 @@
|
|||
with lib;
|
||||
# This plugin has no configuration, so we use `mkVimPlugin` without the `globalPrefix` argument to
|
||||
# avoid the creation of the `settings` option.
|
||||
helpers.vim-plugin.mkVimPlugin config {
|
||||
name = "texpresso";
|
||||
originalName = "texpresso.vim";
|
||||
defaultPackage = pkgs.vimPlugins.texpresso-vim;
|
||||
helpers.vim-plugin.mkVimPlugin config {
|
||||
name = "texpresso";
|
||||
originalName = "texpresso.vim";
|
||||
defaultPackage = pkgs.vimPlugins.texpresso-vim;
|
||||
|
||||
maintainers = [maintainers.nickhu];
|
||||
maintainers = [ maintainers.nickhu ];
|
||||
|
||||
extraOptions = {
|
||||
texpressoPackage = mkOption {
|
||||
type = with types; nullOr package;
|
||||
default = pkgs.texpresso;
|
||||
example = null;
|
||||
description = ''
|
||||
The `texpresso` package to use.
|
||||
Set to `null` to not install any package.
|
||||
'';
|
||||
};
|
||||
extraOptions = {
|
||||
texpressoPackage = mkOption {
|
||||
type = with types; nullOr package;
|
||||
default = pkgs.texpresso;
|
||||
example = null;
|
||||
description = ''
|
||||
The `texpresso` package to use.
|
||||
Set to `null` to not install any package.
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
extraConfig = cfg: {
|
||||
extraPackages = [cfg.texpressoPackage];
|
||||
};
|
||||
}
|
||||
extraConfig = cfg: { extraPackages = [ cfg.texpressoPackage ]; };
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue