v3.14.0
What's new
Added π
Note:linkandNote:backlinksas convenience method.- LSP
referencesanddefinition. - LSP
documentSymbol->Obsidian toc. - Uses
seleneandtypos-clito check code quality. - Add
opts.frontmatter.sortto sort properties. footerandNote.statusnow show visual mode word/char counts.
Changed β οΈ
require"obsidian".modulenow can be LSP completed for better api usage.- remove custom enumerate function to use vim.iter.
blinkis checked beforenvim_cmp.opts.note_frontmatter_funcdefaults torequire"builtin".frontmatter.Client.find_tags->search.find_tags.- all commands and callbacks now don't have client as callback.
- Workspace module only export one method
set. configis now its own module.smart_actionnow properly falls back to<CR>unlessObsidian.opts.checkbox.create_new.renamereimplemented with backlinks.- Removed unused path methods.
opts.note_frontmatter_funcmoved toopts.frontmatter.func.opts.disable_frontmattermoved toopts.frontmatter.enabled.api.format_linkmoved toNote:format_link.
Fixed β
- Use the default layout for
Snack.pickerto handle all configurations - Replace non existing function
get_workspace_for_dirwithfind_workspace - Fixed async with minimal functions copied from
vim._async. - No longer notify user
Updated Frontmatter. Snacks.pickernow followsort_byandsort_reversedsettings.Note.openrefactor, so that API works as expected.- Cache note as buffer-local variable, to avoid loss of info.
- Fix duplicate frontmatter.
- Fixed case sensitive front matter tags query.
- Refactor tags command duplicate queries.
- Make sure fold options are remove on
BufLeave - Unified picker interface.
follow_linkwill prompt to create on markdown paths that don't exist.- remove any fold option overriding, only do fold when fold is setup by the user.
- support
[](./path)pattern when finding backlinks. - Remove tag false positives that are not on word boundary.
- Allow nil return in dynamic workspace paths.
- Fix typo in
opencommand. - Check if a user specified workspace exists before listing it as valid.
- Tags in html comments will be properly ignored.
- Allow for parent (
()) and/char in frontmatter keys. - Checkbox can be toggled in block quotes and create new works on blank line.
- Backlinks will find vault relative path without
.mdextension. - Notes with same filename in different folders will be resolved by user picking.
Commits
30ef8d3 chore(release): bump version to v3.14.0 for release
b6123e0 Resolve rework (#451)
5ac94a1 chore(docs): auto generate docs
20d7d36 doc: improve API docs
472d7f0 test: remove unused helper
fb05579 fix: funding.yml
468e5db Create FUNDING.yml
4e96515 chore(docs): auto generate docs
bb84a92 doc: add sponsor info
38a5209 chore(docs): auto generate docs
800b1f4 feat: visual mode word count in footer (#400)
cb0415c fix: manually open file
fdeb75d chore(docs): auto generate docs
e977ebe refactor: api.format_link moved to Note:format_link.
a9dff22 fix: typos
7ce99c9 chore(docs): auto generate docs
adabd05 feat: move frontmatter as its own code and config module. (#426)
5663315 chore(docs): auto generate docs
3b66f17 docs: add cameronr as a contributor for code (#445)
e5fee8e fix(snacks): always set a layout preset (#443)
59ff8f0 fix: Backlinks will find vault relative path without .md extension.
d5904e2 Checkbox can be toggled in block quotes and create new works on blank line. (#441)
8d8090c chore(docs): auto generate docs
767a535 docs: add FirelightFlagboy as a contributor for code (#440)
3d067bc fix(yaml): Allow for mapping key to contain paren and / (#439)
51effad fix: lint
7a40584 chore(docs): auto generate docs
092dfb5 fix: remove unused path methods (#434)
52b8bf8 fix: tag mappings not set due to refactor
c801f3d ci: not install luarocks in workflow
d19c97d chore(docs): auto generate docs
9d481f2 CI: use selene and typos in Makefile and CI (#431)
44b923f chore: add strip option for util.parse_link
bf4d020 refactor: rename reimplemented with backlinks. (#427)
d5fcd04 chore: use builtin command type instead of custom
2e97ec3 refactor: move autocmds into its own file
f84ad88 chore(docs): auto generate docs
83ba83d docs: add antigluten as a contributor for code (#425)
9c4d565 fix(blink): replace non existing function get_workspace_for_dir with find_workspace (#424)
9a0e71d fix: Tags in html comments will be properly ignored.
590e747 fix: smart_action now properly falls back to <CR> unless Obsidian.opts.checkbox.create_new. (#423)
4ebfd41 chore(docs): auto generate docs
080160d Update README.md
4dc149e chore(docs): auto generate docs
d282f06 Config module (#422)
4cd1789 Workspace refactor4 (#421)
248a0bd feat: documentSymbol based toc. (#408)
e106d02 fix: check if a user specified workspace exists before listing it as valid.
710f946 fix typo in open command (#416)
3f67dcf chore(docs): auto generate docs
f9de233 fix: Allow nil return in dynamic workspace paths.
b5f2e39 chore(docs): auto generate docs
93065ba fix: remove client params in callbacks in README
9ac8400 fix: Remove tag false positives that are not on word boundary
7cb487f fix: use normalized Obsidian.workspaces in workspace.switch
d7d30c0 chore(docs): auto generate docs
3d4f21e refactor: almost remove all client usage (#403)
4c941d7 chore(docs): auto generate docs
6c1f019 doc: improve README (#407)
ccd54dd fix: support when finding backlinks (#404)
7ae3da8 chore(docs): auto generate docs
cfaeded Lsp references & definition (#370)
8642ab0 chore(docs): auto generate docs
d1400f1 feat: Note:links, Note:backlinks (#401)
23ea54f chore(docs): auto generate docs
978b25c fix: note.frontmatter as default for opts.note_frontmatter_func (#398)
1fe4478 chore(docs): auto generate docs
db08b88 docs: add e-mar404 as a contributor for code (#397)
4f6de6f chore(docs): auto generate docs
3f9bddb Remove custom fold options (#396)
f016996 Set checkbox to specific state (#346)
68d4f41 fix: incorrect CHANGELOG
252e543 chore(docs): auto generate docs
6958d29 fix borken link
ba79440 chore(docs): auto generate docs
273edfc fix: broken link, remove some verbosity and old demo video
85939ad fix: follow_link will prompt to create on markdown paths that don't exist.
d8027c1 picker cleanups (#371)
c06b48b fix: check blink before nvim_cmp
068ab40 refactor: use vim.iter():enumerate instead of custom (#374)
6b24d4a fix: require"obsidian".module now can be LSP completed for better api usage.
e7818ca fix: Make sure fold options are remove on BufLeave
c471b60 chore(docs): auto generate docs
87f9c8a docs: add TakahiroW4047 as a contributor for code (#367)
d01379a chore(docs): auto generate docs
12fae31 fix(tags): drop second tag query; make frontmatter tag query case-insensitive (#361)
e65f531 test: fix title metadata test
31ecbe1 chore(docs): auto generate docs
5ca593c fix: wrong lazy load instruction and minor type issue
259bf61 fix: minor patches for cosma.nvim
7198ba7 fix: duplicate frontmatter introduced by lack of has_frontmatter
4f245fd fix: Obsidian open correct resolve and path
4fd01de fix: cache note as local var (#356)
cd47eea fix: move the fold options back to init autocmds
fbb25ea fix: update_frontmatter after note.open
3c0e1e3 chore(docs): auto generate docs
5573b44 fix: cleanup note.open method (#348)
c7384eb fix: Snacks.picker now follow sort_by and sort_reversed settings. (#347)
cb0fbca fix: remove update_frontmatter log (#344)
4a5e152 chore(docs): auto generate docs
9250b38 feat: async functions from vim._async on neovim main, to limit jobs (#339)