ignore workspace if it doesn't exist. #443
Answered
by
epwalsh
azinsharaf
asked this question in
Q&A
-
hi, i use one neovim and |
Beta Was this translation helpful? Give feedback.
Answered by
epwalsh
Feb 28, 2024
Replies: 1 comment 9 replies
-
Hey @azinsharaf, I would recommend dynamically setting your workspace config. For example: local Path = require("plenary.path")
local workspaces = {}
if Path:new("/path/to/onedrive/workspace"):exists() then
table.insert(workspaces, { path = "...", ... })
end
require("obsidian").setup({ workspaces = workspaces, ... }) |
Beta Was this translation helpful? Give feedback.
9 replies
Answer selected by
azinsharaf
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @azinsharaf, I would recommend dynamically setting your workspace config. For example: