nixvimConfig/plugins/astroui/default.nix

21 lines
378 B
Nix
Raw Normal View History

2024-06-05 14:45:25 +02:00
# homepage: https://github.com/AstroNvim/astroui
{ helpers, icons, lib, pkgs, ... }:
2024-06-05 14:45:25 +02:00
let
status = import ./status;
in
2024-06-05 14:45:25 +02:00
{
extra = {
packages = [
(import ./package.nix { inherit lib pkgs; })
2024-06-05 14:45:25 +02:00
];
config = ''
require('astroui').setup({
icons = ${helpers.toLuaObject icons},
status = ${helpers.toLuaObject status},
2024-06-05 14:45:25 +02:00
})
'';
};
}