mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-24 23:56:41 +02:00
Add option to disable concealcursor changes (#107)
* Add option to disable concealcursor changes * option `taskwiki_disable_concealcursor` * fixes #106 * Set `conceallevel=3` regardless of `taskwiki_disable_concealcursor`
This commit is contained in:
parent
d360f67b80
commit
68558119ca
2 changed files with 8 additions and 1 deletions
|
@ -42,8 +42,11 @@ syntax match TaskWikiTaskWaiting containedin=TaskWikiTask contained /\s*\*\s\[W\
|
|||
syntax match TaskWikiTaskPriority containedin=TaskWikiTask contained /\( !\| !!\| !!!\)\( \)\@=/
|
||||
|
||||
" Set concealed parts as really concealed in normal mode, and with cursor over
|
||||
" (unless disabled by user)
|
||||
setlocal conceallevel=3
|
||||
setlocal concealcursor=nc
|
||||
if !exists('g:taskwiki_disable_concealcursor')
|
||||
setlocal concealcursor=nc
|
||||
endif
|
||||
|
||||
" Configure custom FoldText function
|
||||
" Altered version of the VimwikiFoldText
|
||||
|
|
|
@ -667,6 +667,10 @@ constructs.
|
|||
If set to a non-empty value (such as "yes"), taskwiki will not
|
||||
preserve folding when entering or leaving a vimwiki buffer.
|
||||
|
||||
*taskwiki_disable_concealcursor*
|
||||
If set to any non-empty value (such as "yes"), taskwiki will not conceal
|
||||
characters on the cursor line in normal mode via `concealcursor=nc`.
|
||||
|
||||
*taskwiki_disable*
|
||||
Setting any non-empty value for this variable will disable taskwiki.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue