Skip to content

wiki.vim v0.9

Latest
Compare
Choose a tag to compare
@lervag lervag released this 18 Apr 21:41
· 71 commits to master since this release

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 and WikiLinkIncomingHover.
  • 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 with fzf-lua.
  • Link graph
    • Added incoming links functionality (#313)
      • :help WikiLinkIncomingToggle
      • :help WikiLinkIncomingHover
    • Change default depth for WikiGraph{In,Out}
  • API changes
    • [breaking] Renamed Wiki#toc#get_section_at to wiki#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
  • Other
    • Added initial support for BibDesk links (#341)
    • Added the activated link to the template context (#342)
      • :help wiki-templates-context

Bug Fixes

  • Wrapped fd path in quotes to handle spaces in the path (#336)
  • Improved formatted echos
  • 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.