Tuesday, December 4, 2012

Re: vim: strange issue with gq

On 12/5/2012 12:07 AM, ping wrote:
> On 12/4/2012 9:24 PM, Tony Mechelynck wrote:
>> 1. Make that file current (Place the blinking cursor in its window),
>> either by clicking, by Ctrl-W w, by means of ":e filename" or ":new
>> filename", or by any other appropriate means.
>>
>> 2. :verbose setlocal formatexpr? formatoptions?
>
> here is the values of :verbose setlocal
> formatoptions=tcqmB
> formatexpr=
> filetype=text
> Last set from /usr/share/vim/vim73/filetype.vim
>
> thanks!

it looks this is permanently reproducible , even with:
* vim -u NONE
* another linux machine
as long as I set 'smartindent'.

steps to reproduce:
1. vim -u NONE
2. paste following texts (from Dickens noval)

I was born with a caul, which was advertised for sale, in the
newspapers, at the
low price of fifteen guineas. Whether sea-going people were short of
money about
that time, or were short of faith and preferred cork jackets, I don't
know; all

3. set tw=45
4. set smartindent
5. gqap

you'll see it.

I check :help smartindent, but I couldn't find anything related to this,
maybe I missed sth (stupid)?

thanks

regards
ping


--
You received this message from the "vim_use" 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

No comments: