Add nvim-lazy submodule and add plugin configuration.
This commit is contained in:
parent
f545e30831
commit
b1ad0b623a
39 changed files with 1599 additions and 0 deletions
40
pkgsets/nvim/orgmode.nix
Normal file
40
pkgsets/nvim/orgmode.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
|
||||
lib.mkIf (lib.elem "nvim::orgmode" config.machine.pkgs) {
|
||||
programs.nvim-lazy.lazyPlugins = [
|
||||
{
|
||||
lazy = true;
|
||||
dir = vPlug: vPlug.orgmode;
|
||||
event = [ "VeryLazy" ];
|
||||
ft = [ "org" ];
|
||||
dependencies = (
|
||||
vPlug: with vPlug; [
|
||||
vim-table-mode
|
||||
"akinsho/org-bullets.nvim"
|
||||
]
|
||||
);
|
||||
opts = {
|
||||
org_hide_leading_stars = true;
|
||||
org_log_done = true;
|
||||
org_startup_folded = "showeverything";
|
||||
org_startup_indented = true;
|
||||
org_adapt_indentation = false;
|
||||
org_agenda_files = "~/org/**/*";
|
||||
org_default_notes_file = "~/org/refile.org";
|
||||
};
|
||||
}
|
||||
{
|
||||
lazy = true;
|
||||
short = "akinsho/org-bullets.nvim";
|
||||
opts = { };
|
||||
}
|
||||
{
|
||||
lazy = true;
|
||||
dir = vPlug: vPlug.vim-table-mode;
|
||||
}
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue