On Thu, 18 Dec 2008, Tony Mechelynck wrote:
>       :help 'formatoptions'
>       :help 'cindent'
>       :help 'indentexpr'
>       :help :filetype-indent-off
>       :help :filetype-overview

Thanks for pointers, I just found it is caused by smartindent which
uses cinw which contains for/while and other common c keywords.  I
disabled smartindent and the problem gone.

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩090 唐玄宗  經鄒魯祭孔子而歎之
    夫子何為者  栖栖一代中  地猶鄹氏邑  宅即魯王宮
    歎鳳嗟身否  傷麟怨道窮  今看兩楹奠  當與夢時同

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to