This repository has been archived on 2024-05-17. You can view files and clone it, but cannot push or open issues or pull requests.
neovim/plugins/theme/default.nix

28 lines
614 B
Nix
Raw Normal View History

{ enableTabline ? false
, enableBarBar ? false
}:
{ lib
, catppuccin-nvim
, lualine-nvim
, lualine-lsp-progress
, tabline-nvim
, barbar-nvim
, ...
}:
let
lualinePlugins = [ lualine-nvim lualine-lsp-progress ];
in
{
2022-09-17 00:39:24 +03:00
luaConfig = (builtins.readFile ./catppuccin-nvim.lua)
+ (builtins.readFile ./lualine.lua)
+ (lib.optional enableTabline (builtins.readFile ./tabline.lua))
+ (lib.optional enableBarBar (builtins.readFile ./barbar.lua));
plugins = [ catppuccin-nvim ]
++ lualinePlugins
++ (lib.optional enableTabline [ tabline-nvim ])
++ (lib.optional enableBarBar [ barbar-nvim ]);
}