qqzsxyz / vimwiki

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

Wikilinks don't get auto-collapsed/expanded inside tables #364

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

In regular text, a wikilink like [[foo]] will be collapsed to underlined 'foo' 
as soon as cursor is moved to another line and expanded back when cursor is 
moved to this line. Same for wikilinks with descriptions: [[bar|bar1]] will get 
collapsed to underlined 'bar1' when cursor is moved to another line and 
expanded back when cursor is moved to this line.

What is the expected output? What do you see instead?

If the wikilinks are inside tables, auto-collapse/expansion doesn't happen when 
cursor is moved from/to the line that contains the wikilinks.

What version of the product are you using?

vimwiki-2-0-1
vim-7.3.154

On what operating system?

Slackware64-13.37

Please provide any additional information below.

Original issue reported on code.google.com by rwxrwx.m...@tut.by on 24 Aug 2012 at 12:26

GoogleCodeExporter commented 9 years ago
I wasn't able to make vimwiki syntax to be properly concealed combined with 
table autoformatting.

That is why concealing is off for stuff inside tables.

If anyone want to have a look into this issue to fix it, that would be great.

Original comment by habamax on 24 Aug 2012 at 5:27

GoogleCodeExporter commented 9 years ago
So it may be a good idea to just turn off auto-collapse completely by setting 
g:vimwiki_conceallevel to 0, to keep consistence between wikilinks in tables 
and outside them?

Original comment by rwxrwx.m...@tut.by on 24 Aug 2012 at 5:38