mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-26 23:16:46 +00:00
36 lines
889 B
Nix
36 lines
889 B
Nix
{lib, ...}: let
|
|
inherit (lib.options) mkEnableOption mkOption;
|
|
inherit (lib.types) str bool;
|
|
in {
|
|
options.vim.notes = {
|
|
obsidian = {
|
|
enable = mkEnableOption "complementary neovim plugins for Obsidian editor";
|
|
dir = mkOption {
|
|
type = str;
|
|
default = "~/my-vault";
|
|
description = "Obsidian vault directory";
|
|
};
|
|
|
|
daily-notes = {
|
|
folder = mkOption {
|
|
type = str;
|
|
default = "";
|
|
description = "Directory in which daily notes should be created";
|
|
};
|
|
date-format = mkOption {
|
|
type = str;
|
|
default = "";
|
|
description = "Date format used for creating daily notes";
|
|
};
|
|
};
|
|
|
|
completion = {
|
|
nvim_cmp = mkOption {
|
|
type = bool;
|
|
description = "If using nvim-cmp, otherwise set to false";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|