diff options
| -rw-r--r-- | ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/obsidian.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/obsidian.lua b/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/obsidian.lua index c5f3a59..74a3dc8 100644 --- a/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/obsidian.lua +++ b/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/obsidian.lua @@ -88,6 +88,10 @@ return { }) end, config = function() + local vault_path = vim.fn.expand("~/Private/repos/Obsidian/SI") + if vim.fn.isdirectory(vault_path) == 0 then + return + end require("obsidian").setup({ -- A list of workspace names, paths, and configuration overrides. -- If you use the Obsidian app, the 'path' of a workspace should generally be |
