1
0
Fork 0
mirror of https://github.com/NotAShelf/neovim-flake.git synced 2024-12-27 20:59:47 +01:00
neovim-flake/modules/notes/obsidian/obsidian.nix

27 lines
556 B
Nix
Raw Normal View History

{
config,
lib,
...
}:
with lib;
2023-03-31 04:20:35 +02:00
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";
};
};
};
};
}