Add option to not conceal one-character markers

Adds new configuration variable, "conceal_onechar_markers", defaulting
to on (preserving default behaviour)

Adds if-statement around relevant parts of code (as suggested in the
issue), which uses the new configuration variable.

Fix #315 - Don't conceal one-character markers
This commit is contained in:
Patrik Willard
2019-04-09 07:34:34 +02:00
parent 82ba1e99bf
commit a5bda652d0
3 changed files with 32 additions and 18 deletions

View File

@ -2957,6 +2957,17 @@ URLs and hides markers and URL for links that have a description.
Default: 2
------------------------------------------------------------------------------
*g:vimwiki_conceal_onechar_markers*
Control the concealment of one-character markers.
Setting 'conceal_onechar_markers' to 0 will show the markers, overriding
whatever value is set in |g:vimwiki_conceallevel|
Default: 1
------------------------------------------------------------------------------
*g:vimwiki_conceal_pre*