Repository navigation
v3.16.7
What's new
Added π
- Obsidian-style vault-wide heading completion with
[[##query, using cached heading metadata when available and filesystem search otherwise (#320, #505, #749). - Setup-time configuration validation with aggregated errors and
:checkhealthreporting (#79). - Runtime enum tables for configuration values and type check, exported through
require("obsidian.types"). daily_notes.start_of_weekfor configuring Moment-style week formats.- Obsidian-style block completion with previews and automatic IDs for unlabeled blocks, using
[[^query,[[note^query,[[note#^query, or[[^^query(#505, #749). - Added separate icons module to support obsidian related filetypes and usecases.
- Fallback libuv-based fs walker that makes
ripgrepoptional in file finding. - Fallback interactive UI for
picker.select. require"obsidian.picker.PICKER_NAME".setup()to addobsidian_filesandobsidian_grepsources for pickers.- Experimental Inlay Hints support when cache is enabled, suggesting potential links, use
smart_actionto accept. - Multi-workspace aware note resolution:
api.find_workspacenow matches the most specific workspace for any path (including non-note and non-existent paths). - Optional
source_pathfor note creation, resolving workspace-specific config (note_id_func,note_path_func,notes_subdir,new_notes_location) and thecurrent_dirstrategy. - Optional
dirargument ondaily_note_path,new_unique_id, andnew_unique_noteto resolve against a specific workspace/folder. - Optional
bufnrandpositionarguments onapi.cursor_link/api.cursor_tag. Note.renamefor scripting note renames.- Invalid filenames are checked on
Note.createandNote.rename. - Bookmark management support for adding the current note, heading, block, or URL, bookmarking note picker selections, removing bookmarks, and moving bookmarks into groups.
:Obsidian rebuild_cachecommand to force cache rebuild.
Fixed β
- Footer backlink counts now refresh on watched-file changes instead of running a vault-wide search every 10 seconds per buffer (#939).
- Named-note heading completion now preserves the heading's original case and spelling in wiki links.
- No
Note.createinterrupt calls in completion. :Obsidian sync logopens real obsidian-headless cli logs.- YAML frontmatter dumping now quotes ambiguous string values and safely handles backslashes and single quotes.
- Link-suggestion inlay hints exclude templates and refresh immediately after acceptance.
- Absolute
templates.folderpaths resolve outside the vault without creating nested directories inside it (#761). ripgreptag search will work forfileformat=dos.- Fzf-lua builtin previews work with the fzf-tmux profile.
- Fzf-lua picker selections now honor multi-select consistently across files, grep, and list pickers.
- Picker will apply
format_itemconsistently. - Cache will be triggered by buffer writes.
- Fixed
attempt to index local 'pos' (a nil value)error in:Obsidian tocby dropping redundantpospassing tovim.lsp.buf.document_symbol. api.path_is_notenow checks proper path containment instead of substring matching.api.templates_dirresolves against the given workspace root.- Search and backlink lookup now resolve the workspace from the searched/note path, and
find_asyncapplies that workspace'sfile.ignore_filters. Workspace.setkeeps the single-vault cache aligned when switching workspaces.- LSP note rename updates only link destinations, preserving aliases like
[[index|index]]. - LSP folder rename updates vault-relative links without changing stem-only links.
- Note rename duplicate-name warning only blocks same-folder filename collisions.
Changed β οΈ
- Breaking:
find_files,find_notes,grep, andgrep_notescallbacks now receive a list of selected results. Multiple results use the quickfix list by default. - Deprecate old
picker.pick, internally usepicker.selectwith better multi-select and preview_item support.
Commits
7a2b7ca chore(release): bump version to v3.16.7 for release
020d63a chore(docs): auto generate docs
b5170fc fix(footer): refresh backlinks on file changes (#947)
708838c fix(completion): preserve anchor case (#926)
b8a2589 chore(docs): auto generate docs
43fc5f8 fix(note): no side effect note creation (#946)
2cd1717 feat(cache): :Obsidian rebuild_cache (#945)
7b167ab chore(docs): auto generate docs
fdf6c6e fix(lsp): rename refinements (#944)
b71d0e8 chore(docs): auto generate docs
8d2c5c6 feat(sync): open real cli sync log (#943)
4794873 fix(yaml): improve string quoting rules (#942)
340d919 fix(lsp): refresh and filter link hints (#941)
6c34920 feat(bookmark): add, del and picker actions (#940)
e49af4d feat(lsp): vaultwide heading completion with [[## (#938)
8f77aad chore(docs): auto generate docs
96d4806 feat(config): startup config validation (#936)
dfc032c fix(templates): support absolute folder paths (#935)
ce8be59 feat(daily): configure start of week (#934)
6099dab fix(search): tag search work for dos format (#933)
118235a fix(picker): support fzf-tmux previews (#875)
29c248f chore(docs): auto generate docs
88dcdd8 feat(note): check invalid filenames for sync (#869)
07f94ef chore(docs): auto generate docs
099c1cb feat(completion): add Obsidian-style block reference search (#924)
5715803 chore(docs): auto generate docs
35c40d9 refactor: better workspace resolution (#925)
64e9ef5 chore(docs): auto generate docs
8c18f6e feat: initial inlay hint support for link suggestion (#923)
c9f3ed2 refactor: picker extensions (#922)
befafd2 feat(ui): builtin picker UI (#921)
5c240b1 docs: add FosRexx as a contributor for code (#920)
ead02ee fix(commands/toc): error attempt to index local 'pos' (a nil value) (#919)
5acd67b refactor: fallback file walker and making rg optional in finding files (#916)
dfd0a59 fix(cache): trigger cache on buffer write (#915)
70e68a3 fix(picker): apply format_item consistently (#914)
ab59625 refactor: general picker multi select and preview_item support (#913)
b7bd374 refactor: icon provider module (#912)