Cory Echols wrote:
> On Thu, Jan 15, 2009 at 8:11 AM, Frans Grotepass
> <[email protected]> wrote:
>> cindent is on. Switching to nocindent solves the problem. What happens is
>> the following (with
>> tabwidth set to 4.
>>
>>
>> blablabla,
>> bla
>>
>> instead of
>>
>> blablabla,
>> bla
>>
>> the comma and open bracket "(" cause problems. "{" does not behave like in C.
>
> I wasn't disputing the fact that the setting is enabled in your setup.
> I was trying to help you discover where it is being set at. The
> commands I suggested were intended to accomplish that. Please run
> them.
>
> If their output doesn't make sense to you, please post it back to the
> list and we'll attempt to decipher it for you.
>
> >
>
Sorry, it is set in ~/.vimrc
cinoptions is set to ":0,(0". The ( then behaves like follows:
blablabla blabla (
blablaA
with cinoptions set to "" and cindent on, it becomes
blablabla blabla (
blablaA
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---