Add toc_link_format option

Add an option for setting the format of the links in the Table of Contents:
- Extended (the current and default)
- Brief (new format for the Vimwiki markup)
This commit is contained in:
Michal Cizmazia
2019-03-29 21:25:27 +01:00
parent e56c26c7ba
commit b849a411e3
3 changed files with 26 additions and 6 deletions

View File

@ -2992,6 +2992,21 @@ are from 1 to 6.
The default is 1.
------------------------------------------------------------------------------
*g:vimwiki_toc_link_format*
The format of the links in the Table of Contents (see |vimwiki-toc|).
Value Description~
0 Extended: The link contains the description and URL. URL
references all levels.
1 Brief: The link contains only the URL. URL references only
the immediate level.
Default: 0
------------------------------------------------------------------------------
*g:vimwiki_map_prefix*