mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-26 23:16:46 +00:00
27 lines
556 B
Nix
27 lines
556 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
with lib;
|
|
with builtins; {
|
|
options.vim.notes = {
|
|
obsidian = {
|
|
enable = mkEnableOption "complementary neovim plugins for Obsidian editor";
|
|
dir = mkOption {
|
|
type = types.str;
|
|
default = "~/my-vault";
|
|
description = "Obsidian vault directory";
|
|
};
|
|
|
|
completion = {
|
|
nvim_cmp = mkOption {
|
|
# if using nvim-cmp, otherwise set to false
|
|
type = types.bool;
|
|
description = "If using nvim-cmp, otherwise set to false";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|