One9398 / vimwiki

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

multi-line bullet list items no longer indent properly with recent Vim #405

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. start a bullet list in vimwiki page (i.e., "* my first bullet")
2. enter a very long bullet item, one that requires wrapping

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

In stock 7.3 vim (no patches), I would get the multi-line item properly 
indented:

* my first bullet
* my second very very very very very very
  long bullet

Instead, with recent Vims, the indentation of subsequent lines is lost:

* my first bullet
* my second very very very very very very
long bullet

What version of the product are you using? On what operating system?

Any OS, any 7.3 vim patched past patch 756 I think.

Please provide any additional information below.

I did some poking around, and found the change was triggered by a specific 
patch.  The vim_dev post is here:
https://groups.google.com/forum/?fromgroups=#!topic/vim_dev/U5nknzuo5Wc

It sounds like just the semantics changed a bit, hence why the use-case no 
longer works.

At this point I suspect that maybe the multi-line bullet list item is not even 
an officially supported use-case, and I was just lucky it worked before like I 
wanted.  If so, could this be added in the future?

Original issue reported on code.google.com by mkalis...@gmail.com on 9 Mar 2013 at 4:20

GoogleCodeExporter commented 8 years ago
Very useful find indeed. I experienced the same issue with Vim74. Hope this can 
be fixed soon. 

Original comment by danhnguy...@gmail.com on 24 Mar 2014 at 3:01