On Thu, Mar 21, 2013 at 12:37 PM, Marcin Sztolcman <[email protected]>wrote:

> On 21 mar 2013, at 16:55, FlashBurn <[email protected]> wrote:
>
> > I have just loaded tcomment plugin,
> https://github.com/tomtom/tcomment_vim. I code in C and need to be able
> to do line comments ( // ). For some reason this plugin does only block
> comments ( /* ... */). I looked through the documentation but was not able
> to find a way to configure the plugin to do the line comments. Does anybody
> know how to do it?
>
>
> For example, from my .vimrc:
>
> let g:tcommentLineC = {
>     \ 'commentstring': '// %s',
>     \}
>
> --
> Marcin Sztolcman :: http://urzenia.net/ :: http://sztolcman.eu/
>
> --
> --
> 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
>
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "vim_use" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/vim_use/xA7yBFDXb3I/unsubscribe?hl=en.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
Thank you it worked. However if you run pathogen this string must be set
before pathogen is called.

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to