diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-03-16 12:34:20 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-03-16 12:34:20 +0900 |
| commit | 29a7e29edba370246c45a1d36b2a393ba674f11d (patch) | |
| tree | 59b2f6882a3d6146fb9796bdf38d3d14ac0af6d0 /ar/.config/TheSiahxyz | |
| parent | c6d581cf08a1fa537c68939e04ca9e84a79cb105 (diff) | |
modified plugins/obsidian.lua
Diffstat (limited to 'ar/.config/TheSiahxyz')
| -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 |
