Hi,

On Fri, Dec 23, 2011 at 10:12 AM, Thilo Six <[email protected]> wrote:
> Matthew Brett wrote the following on 23.12.2011 03:25
>
> Hello Matthew,
>
>
>> Hello,
>>
>> I hope this is the right place to post.
>>
>> I noticed this behavior in the current runtime/indent/rst.vim
>>
>> <test.rst>
>> 1. Sometimes I find that I write long sentences without having any idea when
>>    they will finish or what they are for.
>>
>>    1. Sometimes I find that I write long sentences without having any idea 
>> when
>>          they will finish or what they are for.
>> </test.rst>
>>
>> The problem is the extra indentation on the final line of the test.rst
>> file. I think this is because the current code does not strip the
>> preceding spaces before calculating the indent, and the attached patch
>> is the right fix.
>>
>> Is that right?  Is there somewhere I should be putting tests for the
>> correct behavior?
>>
>> Thanks a lot,
>>
>> Matthew
>
> indent/rst.vim has a maintainer his email can be found at the top of the file.
> You should contact him with your patch.

Thanks - I have done that.  As a matter of interest, did I miss a
developer howto with etiquette for patches and so on? I had a quick
look but I am jet-lagged and not at my sparkling best at the moment.

> Additionally side note about the patch:
> When you start to use linecontinuation you have to make sure that parsing the
> file does not break. see:
> http://thread.gmane.org/gmane.editors.vim.devel/32151
>
> The corresponding vim help is available at:
> :help 'cpoptions'

Thanks - that had not occurred to me, I have modified the patch,

Best,

Matthew

-- 
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

Raspunde prin e-mail lui