nix-community.nixvim/plugins/by-name/orgmode/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
601 B
Nix
Raw Normal View History

2024-08-29 23:08:07 +03:00
{
lib,
...
}:
let
inherit (lib.nixvim) defaultNullOpts;
in
2024-12-22 09:58:27 +00:00
lib.nixvim.plugins.mkNeovimPlugin {
2024-08-29 23:08:07 +03:00
name = "orgmode";
packPathName = "nvim-orgmode";
2024-08-29 23:08:07 +03:00
2024-09-27 05:28:00 +01:00
maintainers = [ lib.maintainers.refaelsh ];
2024-08-29 23:08:07 +03:00
settingsOptions = {
org_agenda_files = defaultNullOpts.mkNullable (with lib.types; either str (listOf str)) "" ''
A path for Org agenda files.
'';
org_default_notes_file = defaultNullOpts.mkStr "" ''
A path to the default notes file.
'';
};
settingsExample = {
org_agenda_files = "~/orgfiles/**/*";
org_default_notes_file = "~/orgfiles/refile.org";
};
}