Lech Lorens wrote:
On 3 March 2010 21:29, Rene <[email protected]> wrote:
Hello vim-dev list,
I recently switched to Ubuntu Lynx to easily use 'gcc-snapshot' which offers
C++0x support and especially
the so called raw strings.
The vim package bundled with Lynx must be one of the newest but it doesn't
offer syntax highlighting for
raw strings. :'-(
Where and how to edit the syntax highlighting system? Sadly my Google Search
didn't help me.
Please give me some links to be able to start editing the syntax
highlighting system and if I succeed I'll post you
a patch to enable proper C++0x raw string highlighting ;-)
Syntax for C++ is defined in $VIMRUNTIME/syntax/cpp.vim
The $VIMRUNTIME environment variable is defined by Vim.
To make a custom C++ syntax file, I suggest:
mkdir -p $HOME/.vim/syntax
cp $VIMRUNTIME/syntax/cpp.vim $HOME/.vim/syntax
and modify $HOME/.vim/syntax/cpp.vim to suit.
Regards,
Chip Campbell
--
You received this message from the "vim_dev" 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