mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-30 23:55:15 +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,48 +6,44 @@
|
|||
...
|
||||
}:
|
||||
with lib;
|
||||
helpers.neovim-plugin.mkNeovimPlugin config {
|
||||
name = "ayu";
|
||||
isColorscheme = true;
|
||||
originalName = "neovim-ayu";
|
||||
defaultPackage = pkgs.vimPlugins.neovim-ayu;
|
||||
# The colorscheme option is set by the `setup` function.
|
||||
colorscheme = null;
|
||||
callSetup = false;
|
||||
helpers.neovim-plugin.mkNeovimPlugin config {
|
||||
name = "ayu";
|
||||
isColorscheme = true;
|
||||
originalName = "neovim-ayu";
|
||||
defaultPackage = pkgs.vimPlugins.neovim-ayu;
|
||||
# The colorscheme option is set by the `setup` function.
|
||||
colorscheme = null;
|
||||
callSetup = false;
|
||||
|
||||
maintainers = [maintainers.GaetanLepage];
|
||||
maintainers = [ maintainers.GaetanLepage ];
|
||||
|
||||
deprecateExtraOptions = true;
|
||||
optionsRenamedToSettings = [
|
||||
"mirage"
|
||||
"overrides"
|
||||
];
|
||||
deprecateExtraOptions = true;
|
||||
optionsRenamedToSettings = [
|
||||
"mirage"
|
||||
"overrides"
|
||||
];
|
||||
|
||||
settingsOptions = {
|
||||
mirage = helpers.defaultNullOpts.mkBool false ''
|
||||
Set to `true` to use `mirage` variant instead of `dark` for dark background.
|
||||
'';
|
||||
settingsOptions = {
|
||||
mirage = helpers.defaultNullOpts.mkBool false ''
|
||||
Set to `true` to use `mirage` variant instead of `dark` for dark background.
|
||||
'';
|
||||
|
||||
overrides =
|
||||
helpers.defaultNullOpts.mkStrLuaOr
|
||||
(with helpers.nixvimTypes; attrsOf highlight)
|
||||
"{}"
|
||||
''
|
||||
A dictionary of group names, each associated with a dictionary of parameters
|
||||
(`bg`, `fg`, `sp` and `style`) and colors in hex.
|
||||
overrides = helpers.defaultNullOpts.mkStrLuaOr (with helpers.nixvimTypes; attrsOf highlight) "{}" ''
|
||||
A dictionary of group names, each associated with a dictionary of parameters
|
||||
(`bg`, `fg`, `sp` and `style`) and colors in hex.
|
||||
|
||||
Alternatively, `overrides` can be a function that returns a dictionary of the same
|
||||
format.
|
||||
You can use the function to override based on a dynamic condition, such as the value of
|
||||
`background`.
|
||||
'';
|
||||
};
|
||||
Alternatively, `overrides` can be a function that returns a dictionary of the same
|
||||
format.
|
||||
You can use the function to override based on a dynamic condition, such as the value of
|
||||
`background`.
|
||||
'';
|
||||
};
|
||||
|
||||
extraConfig = cfg: {
|
||||
extraConfigLuaPre = ''
|
||||
local ayu = require("ayu")
|
||||
ayu.setup(${helpers.toLuaObject cfg.settings})
|
||||
ayu.colorscheme()
|
||||
'';
|
||||
};
|
||||
}
|
||||
extraConfig = cfg: {
|
||||
extraConfigLuaPre = ''
|
||||
local ayu = require("ayu")
|
||||
ayu.setup(${helpers.toLuaObject cfg.settings})
|
||||
ayu.colorscheme()
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue