I am trying to :set flp=^\\s*-\\s*, so that I can do properly indented bullet list using dashes. In older versions of Vim this works as expected. That is, I get this formatting:
- aoeu aoeu aeou oeu aoeu oaeu aeouaeouaoeu aoeuaoue eauo aou (i.e., 2nd and consecutive lines are indented) But with some recent versions of Vim it's as if the dash is not recognized as a list bullet, and all lines are flushed left; i.e., - aoeu aoeu aoeu aoeu aoeu aoeu aoeu aoeu aoeu aaoeu I've noticed same behaviour if I use '#' or '*' for bullet character, while digits or letters always work fine. Versions where things work properly: - vim 7.3 on OS X with (as far as I can tell) no patches applied (i.e., stock on my Macbook Air). - MacVim 7.2 patches 1-376 on OS X Versions where things do NOT work properly: - MacVim 7.3 patches 1-754 on OS X - Vim 7.3 patches 1-831 on Linux HOW TO REPRODUCE Start vim with: $ vim -u NONE -U NONE Set options: :set fo=tn :set autoindent :set tw=40 " so don't have to type much to hit margin :set flp=^\\s*X\\s* Note the 'X'... this always works. That is, I get proper indenting: X aoeu aoeu aeou aoeu aoeu aoeu aoeu aoeu aoeu aoeu aoeu aeou aoue aoeu Now I switch 'X' to one of the problematic characters: :set flp=^\\s*-\\s* With this, on the "broken" versions, there is no indentation: - aoeu aoeu aoeu aoeu aoeu aoeu aoeu aoeu aoeu aoeu aoeu aoeu aou aoeu aoeu aoeu while on "not broken" versions it indents as expected: - aoeu aoeu aoeu aoeu aeou aeou aoeu aoeu aoeu aoeu aoeu aoeu aoeu aoeu oaeu aoeu aoeu As I said, this behaviour is same if I use '*' or '#', and possibly other characters, but letters and digits seem unaffected. -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
