mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
plugins/languages: move to by-name
This commit is contained in:
parent
9d323f3ec7
commit
b1d0959bc9
71 changed files with 19 additions and 36 deletions
27
plugins/by-name/orgmode/default.nix
Normal file
27
plugins/by-name/orgmode/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib.nixvim) defaultNullOpts;
|
||||
in
|
||||
lib.nixvim.neovim-plugin.mkNeovimPlugin {
|
||||
name = "orgmode";
|
||||
originalName = "nvim-orgmode";
|
||||
|
||||
maintainers = [ lib.nixvim.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";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue