> > I do something similar for PHP with this file: > > ===== ~/.vim/after/syntax/php.vim ===== > syn region phpComment start=+/\*+ end=+\*/+ contained extend > contains=phpTodo fold > ======================================= > > > For this, you'd want to create the file (and directories, if they don't > exist): > > ===== ~/.vim/after/syntax/cpp.vim ===== > syn match comment "\v(^\s*//.*\n)+" contains=cComentGroup fold extend > ======================================= > > hi Benjamin, I mean write something to script file such as _vimrc in Win32, not to write to cpp.vim Is there any way to do this.
B.R. Wayne -- 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