It's been way too long since I made a release. Still, there has been a lot of improvements and updates. The main highlights of this update are:
- The
g:wiki_select_method
has become much more powerful. - Added
WikiLinkIncomingToggle
andWikiLinkIncomingHover
. - Added
WikiLinkAdd
.
Important: This is the final release of wiki.vim that supports older Vim and neovim versions. Starting now, I will bump the version requirements to Vim 9.1 and Neovim 0.9.5. I am aware that these are very recent versions, but I want to have that flexibility. Users who for some reason need to or want to use older version should stay on the v0.9
tag.
Features
- UI
- Added
:WikiLinkAdd
with corresponding mapping and API method (#329) - Added
g:wiki_ui_method
for choosing ui backends (#317) - [breaking] Generalized
g:wiki_select_method
- This allows custom backends for
Wiki{Pages,Tags,Toc}
- This adds support for Telescope as a select method
- See
:help wiki-advanced-config-3
for an example on how to customize the
select method withfzf-lua
.
- This allows custom backends for
- Added
- Link graph
- Added incoming links functionality (#313)
:help WikiLinkIncomingToggle
:help WikiLinkIncomingHover
- Change default depth for
WikiGraph{In,Out}
- Added incoming links functionality (#313)
- API changes
- [breaking] Renamed
Wiki#toc#get_section_at
towiki#toc#get_section
- Improved
wiki#toc#gather_entries
- Improve filetype specifications for
wiki#toc#...
(#346) - Skip fenced code blocks in
wiki#link#get_all_from_lines
- [breaking] Renamed
- Other
Bug Fixes
- Wrapped
fd
path in quotes to handle spaces in the path (#336) - Improved formatted
echo
s - Ensure folds are disabled in popups
- Fixed regression in
wiki#graph#check_orphans
(#322) - Removed empty anchors from urls (#323)
- Only remove first toc entry if it makes sense
- Fixed bug with handling windows paths in
wiki#paths#relative
(#340)
Acknowledgements
I would like to give a special thanks to @camfowler who contributed with the PR #336.