indentLine icon indicating copy to clipboard operation
indentLine copied to clipboard

indentLine breaks vimwiki with concealcursor setting

Open Datamance opened this issue 4 years ago • 4 comments

in particular with the latest version of indentLine at 15aceda and vimwiki at vimwiki/vimwiki@64c9f3d (master).

The only solution that works is referenced here. Setting _setConceal and/or _fileTypeExclude in vim dotfiles does not help.

Datamance avatar Apr 15 '20 06:04 Datamance

Just put

let g:indentLine_concealcursor=""
let g:indentLine_conceallevel=2

in your vimrc and you're good to go. This is documented in the README.md under Change Conceal Behaviour

FreddieOliveira avatar Aug 09 '20 06:08 FreddieOliveira

The recommendations from the docs were the first thing that I tried, and it didn't work - at least in the context of the vimwiki plugin. I've since moved on to just using Joplin CLI for note taking, but happy to repro this and provide screenshots when I get back to a computer.

Datamance avatar Aug 09 '20 14:08 Datamance

Hmm, OK. But, what exactly is your problem? I mean, what do you mean by breaks vimwiki with concealcursor setting?

I'm interested in this because I'm doing the opposite of you: I'm moving from Joplin to vimwiki

FreddieOliveira avatar Aug 09 '20 20:08 FreddieOliveira

let g:indentLine_bufNameExclude = ['_.*', 'NERD_tree.*', '*.wiki']
let g:indentLine_fileTypeExclude = ['vimwiki']
let g:indentLine_bufTypeExclude = ['help', 'terminal', 'vimwiki']

If you're still having this issue, these settings worked for me.

Shaedil avatar Aug 18 '20 16:08 Shaedil