diff options
| author | Ibrahim Muftee <ibrahim@muftee.net> | 2024-06-12 15:22:12 -0500 |
|---|---|---|
| committer | Ibrahim Muftee <ibrahim@muftee.net> | 2026-07-01 00:23:31 -0400 |
| commit | bcfb2c126f11acc203b6dc22125748cd896978b6 (patch) | |
| tree | 4175e77e49b7fb6fb4189093096c60a49626c91e | |
| parent | 204932877e5eebbc5ab0e8f963f5592de893f67b (diff) | |
feat(nvim): update obsidian vault locations by os
| -rw-r--r-- | dot_config/nvim/lua/plugins/obsidian.lua.tmpl (renamed from dot_config/nvim/lua/plugins/obsidian.lua) | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/dot_config/nvim/lua/plugins/obsidian.lua b/dot_config/nvim/lua/plugins/obsidian.lua.tmpl index 75b0d85..24982a6 100644 --- a/dot_config/nvim/lua/plugins/obsidian.lua +++ b/dot_config/nvim/lua/plugins/obsidian.lua.tmpl @@ -1,3 +1,5 @@ +-- vim:ft=lua + return { "epwalsh/obsidian.nvim", version = "*", -- recommended, use latest release instead of latest commit @@ -31,14 +33,17 @@ return { }, opts = { workspaces = { - -- { - -- name = "personal", - -- path = "~/vaults/personal", - -- }, + {{- if eq .chezmoi.os "windows" }} { name = "work", path = "~/Documents/Vaults/Work", }, + {{ else }} + { + name = "personal", + path = "~/Documents/Vaults/Personal", + }, + {{ end }} }, ---@param title string |
