Yggdroot / indentLine

A vim plugin to display the indention levels with thin vertical lines
MIT License
4.14k stars 227 forks source link

indentLine breaks vimwiki with concealcursor setting #303

Open Datamance opened 4 years ago

Datamance commented 4 years ago

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.

FreddieOliveira commented 4 years ago

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

Datamance commented 4 years ago

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.

FreddieOliveira commented 4 years ago

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

Shaedil commented 4 years ago
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.