mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
plugins/glow: support style path
This commit is contained in:
parent
0999f92567
commit
9e81cb7391
2 changed files with 17 additions and 4 deletions
|
@ -37,10 +37,13 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
|
|||
"single"
|
||||
] "Style of the floating window's border.";
|
||||
|
||||
style = defaultNullOpts.mkEnum [
|
||||
"dark"
|
||||
"light"
|
||||
] (lib.nixvim.mkRaw "vim.opt.background") "Glow style.";
|
||||
style = defaultNullOpts.mkNullable (
|
||||
with lib.types;
|
||||
either (maybeRaw str) (enum [
|
||||
"dark"
|
||||
"light"
|
||||
])
|
||||
) (lib.nixvim.mkRaw "vim.opt.background") "Glow style.";
|
||||
|
||||
pager = defaultNullOpts.mkBool false ''
|
||||
Display output in a pager style.
|
||||
|
|
|
@ -23,4 +23,14 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
example = {
|
||||
plugins.glow = {
|
||||
enable = true;
|
||||
settings = {
|
||||
border = "single";
|
||||
style = "/path/to/catppuccin.json";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue