On Mon, Oct 26, 2009 at 03:15:29PM +0530, Rajesh Kannan wrote:
> I use the Baan programming language where "|" is the comment. I tried
> to add the following to .vmrc but of no avail.
> 
> set comments+=n:|.*
> 
> There are no errors when vim starts but it does not work either.
> 
> Please can someone suggest
>       1) how to add the "|" as a comment symbol
>       2) make vim autocomment the next line when the previous line is
> a baan comment?

Try this:

    set comments+=:\|
    set formatoptions+=ro

-- 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Gregory H. Margo
gmargo at yahoo/com, gmail/com, pacbell/net; greg at margofamily/org

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

Reply via email to