github epwalsh/obsidian.nvim v2.9.0

latest releases: v3.9.0, v3.8.1, v3.8.0...
9 months ago

What's new

Added 🎉

  • Added configuration option image_name_func: (fun(): string)|? for customizing the default image name/prefix when pasting images via :ObsidianPasteImg.
  • Added client method Client:current_note() to get the note corresponding to the current buffer.
  • Added client method Client:list_tags() for listing all tags in the vault, along with async version Client:list_tags_async(callback: fun(tags: string[])).
  • Added note method Note.add_field(key: string, value: any) to add/update an additional field in the frontmatter.
  • Added note method Note.get_field(key: string).
  • Added note method Note.save_to_buffer(bufnr: integer|?, frontmatter: table|?) for saving the frontmatter to a buffer.

Changed ⚠️

  • :ObsidianTags command can take a visual selection or look for a tag under the cursor instead of explicitly provided arguments.

Commits

8b10f0c chore(release): bump version to v2.9.0 for release
c83f9cb Minor fixes + clean up
a20754e chore(docs): auto generate docs
2cb2446 Update demo
426e1e0 chore(docs): auto generate docs
2e17d08 Update screenshots
31e7cfc chore(docs): auto generate docs
5ee32ec update readme
35afa8d chore(docs): auto generate docs
5fecc73 Open finder with all tags when no tag supplied to :ObsidianTags
97f0cfe feat(toggle_checkbox): transform non-checkbox line into a checkbox (#363)
d9be302 Allow viz selection or cursor location with :ObsidianTags command
6b2e0f5 Fix type of note_id_func
a0fe470 chore(docs): auto generate docs
a6596be Make tag completion fuzzy
8d7842e chore(docs): auto generate docs
210874b Merge pull request #362 from epwalsh/epwalsh/list-tags
8ea05a3 Add description to toggle_checkbox keymap opts (#358)
f5e560b chore(docs): auto generate docs
ae39ba3 Add option to customize default image name
b6eba26 Improve foldtext in location list
d1782e4 chore(docs): auto generate docs
7e3ae5a Add method Note:get_field(key: string)
6231702 Make URL regex more robust
1a14849 chore(docs): auto generate docs
6094a23 fix type
89813ca chore(docs): auto generate docs
b0fd116 Add new client and note methods (#351)
64de405 fix(open): linux error spawning new obsidian process (#346)

Don't miss a new obsidian.nvim release

NewReleases is sending notifications on new releases.