Merge pull request #545 from LilleAila/obsidian-remove-dir-default

notes/obsidian: remove default dir-value
This commit is contained in:
raf 2025-01-10 11:12:58 +03:00 committed by GitHub
commit c09ae380f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 6 deletions

View file

@ -44,3 +44,8 @@
- Add [aerial.nvim] - Add [aerial.nvim]
- Add [nvim-ufo] - Add [nvim-ufo]
[LilleAila](https://github.com/LilleAila):
- Remove `vim.notes.obsidian.setupOpts.dir`, which was set by default.
Fixes issue with setting the workspace directory.

View file

@ -24,12 +24,6 @@ in {
enable = mkEnableOption "complementary neovim plugins for Obsidian editor"; enable = mkEnableOption "complementary neovim plugins for Obsidian editor";
setupOpts = mkPluginSetupOption "Obsidian.nvim" { setupOpts = mkPluginSetupOption "Obsidian.nvim" {
dir = mkOption {
type = str;
default = "~/my-vault";
description = "Obsidian vault directory";
};
daily_notes = { daily_notes = {
folder = mkOption { folder = mkOption {
type = nullOr str; type = nullOr str;