mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
27 lines
601 B
Nix
27 lines
601 B
Nix
{
|
|
lib,
|
|
...
|
|
}:
|
|
let
|
|
inherit (lib.nixvim) defaultNullOpts;
|
|
in
|
|
lib.nixvim.plugins.mkNeovimPlugin {
|
|
name = "orgmode";
|
|
packPathName = "nvim-orgmode";
|
|
|
|
maintainers = [ lib.maintainers.refaelsh ];
|
|
|
|
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";
|
|
};
|
|
}
|