One9398 / vimwiki

Automatically exported from code.google.com/p/vimwiki
0 stars 1 forks source link

Should not set conceallevel globally. #390

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
You set conceallevel globally:
if g:vimwiki_conceallevel && exists("+conceallevel")
  let &conceallevel = g:vimwiki:conceallevel
endif

This is wrong. Because when I open other files, other files will use this 
value. And I set `conceallevel = 1` in vimrc, it is overrided.

I think here should use setlocal
setlocal conceallevel = g:vimwiki_conceallevl

And I tested, it is good.

Original issue reported on code.google.com by numbch...@gmail.com on 28 Nov 2012 at 4:45

GoogleCodeExporter commented 8 years ago
Thx!

Original comment by habamax on 9 Dec 2012 at 9:48

GoogleCodeExporter commented 8 years ago

Original comment by habamax on 9 Dec 2012 at 9:48