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/ux/default.nix

19 lines
324 B
Nix
Raw Normal View History

2022-10-22 23:35:27 +03:00
{ lib
, hop-nvim
, nvim-orgmode
, org-bullets-nvim
, enableOrgMode ? false
, ...
}:
2022-10-22 23:35:27 +03:00
let
inherit (builtins) readFile;
in
{
2022-10-22 23:35:27 +03:00
luaConfig = readFile ./hop-nvim.lua
+ lib.optional enableOrgMode (readFile ./nvim-orgmode.lua);
2022-10-22 23:35:27 +03:00
plugins = [ hop-nvim ]
++ lib.optional enableOrgMode [ nvim-orgmode org-bullets-nvim ];
}