What's new
Added 🎉
-
Added Lua API methods
Client:set_workspace(workspace: obsidian.Workspace)
andClient:switch_workspace(workspace: string|obsidian.Workspace)
. -
Added the ability to override settings per workspace by providing the
overrides
field in a workspace definition. For example:require("obsidian").setup({ workspaces = { { name = "personal", path = "~/vaults/personal", }, { name = "work", path = "~/vaults/work", -- Optional, override certain settings. overrides = { notes_subdir = "notes", }, }, }, -- ... other options ... })
Fixed ✅
- Made workspace API more robust.
- Template substitutions are done lazily and only generated once per line.
- Fixed search functionality with
fzf.vim
as a finder when the vault name contains characters that need to be escaped, such as spaces. - Fixed a bug with ext marks for references inside of frontmatter.
Commits
cdf27a7 Fix bug with ext marks inside frontmatter (#284)
2c69c3d fix fzf.vim for vaults with spaces (#281)
4a962b1 cache template subst results
de5c1f8 do template substitutions lazily
430bee7 chore(docs): auto generate docs
0ad2c9d Add ability to override opts per workspace (#277)
e9a9f12 minor internal improvements (#276)
bbb7d14 make workspace API more robust (#275)
aa1fd91 add link to discussions in readme
66f802a chore(docs): auto generate docs
1b57df3 Add note on conceallevel option for config (#273)
5e505eb move each command to its own module (#271)