What's new
Added 🎉
- Add unique note creation prompt option for missing definitions.
- LSP client commands can run actions in actions.lua.
- Add
Note.insert_textfor inserting text under a specific section - Support
workspace/symbolto search through note, note aliases and headings. actions.move_noteto move current note to a folder in the current workspace.- Add
padding_topoption toNote.insert_textfor configuring blank lines inserted at the top of notes. :Obsidian helphas cmdline completion for wiki pages.- Obsidian sync client will emit
ObsidianSyncChangedautocmd event for better status rendering. - Support LSP code_action:
- Add code_actions with
require"obsidian".code_action.add. - Delete code_actions with
require"obsidian".code_action.del.
- Add code_actions with
Note.createaccept atitlefield for readable name for note.- Refactor
Note.insert_textwith flattened and flexible opts for more-expressive configs
Fixed ✅
- YAML parser handling of null values and dashes.
- Uses byte offsets consistently in completion sources.
- Fix
Note.insert_textto add blank-line when inserting at top of note even when it is empty. - Switch workspace will not produce failed to pause sync log for not configured workspace.
- Set
opts.sync.configs = {}to disable obsidian.nvim from racing to sync config with obsidian app using the same folder. - Removes unnecessary sync log messages.
- Unique note creation through link gets a proper readable title instead of id.
Commits
ed6f386 chore(release): bump version to v3.16.3 for release
debd497 chore(docs): auto generate docs
c02e038 refactor(note.insert_text): create flexible section type for expressive configs (#820)
c2eb055 Fix case mismatch in create note with template dialog (#827)
af9857e feat: Note.create accept a title field
325a83a chore: cleanup sync messages (#817)
4af5779 doc: update wiki and readme
569fc37 feat: LSP code action (#664)
d6c0e5b chore(docs): auto generate docs
c8f8c38 fix(sync): allow disabling config syncing with empty opts.sync.configs
269502c feat: ObsidianSyncChanged event (#815)
d944640 feat: completion for help command (#814)
87b487a ci: avoid duplicate test runs
884fcb8 fix(sync): avoid sync pause error on unconfigured workspace (#813)
f779c7e chore(docs): auto generate docs
a20f32f fix(note.insert_text): add blank-line when inserting at top of note even when it is empty. (#812)
94871e4 feat(actions): move note to folder action
6e558fc fix(completion): use byte offsets consistently in completion sources (#809)
3d8a102 feat: LSP workspace symbol (#785)
197e639 fix(yaml): proper handle of dashes and null values (#805)
f816915 fix: changelog for #751
05ff759 chore(docs): auto generate docs
c9fafef feat: add Note.insert_text for inserting text under a specific section (#751)
1a67e09 chore: fix lsp command registration
5161705 feat: lsp client commands (#799)
f7d75eb feat(lsp): add unique note creation option for missing definitions (#798)