On 21 mar 2013, at 16:55, FlashBurn <rail.shafigu...@gmail.com> 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 the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to