On 18/10/09 20:27, Kristoffer Ericson wrote:
>
> Greetings,
>
> Im trying to create an mcedit similiar colorscheme. The reason for this
> is simply that Im so accustomed with mcedit that I want it inside vim
> also.
> Im having some problems which I cannot quite resolve.
> Firstly I add highlight to C items : (, ), {, }, ->, * .....
> This works well, however if I add another highlighting (want different colors 
> for "(",")"),
> then then both highlights stop working.

You may have to change the syntax script for that, and I'm not sure how 
to do it. However, IIRC there is a "rainbow" plugin somewhere on Dr. 
Chip's site http://mysite.verizon.net/astronaut/vim , to highlight 
nested bracket pairs in rainbow colors.

>
> I also want to change the colors of the line numbers but
> highlight numbers doesnt do the trick.

See ":help 'number'". The highlight group to use is called LineNr

>
> Best wishes
> Kristoffer

Also: NEVER apply modifications in-place in anything that lives in 
$VIMRUNTIME, or in one of its subfolders at any depth, because any 
upgrade may (and someday one of them is bound to) silently undo your 
changes with no warning.

If you want to change a colorscheme, copy it under a different name (not 
yet used by any "known" colorscheme, but still ending in .vim) into the 
colors/ subdirectory of some directory named early in 'runtimepath' (for 
instance into ~/.vim/colors/ on Unix or into ~/vimfiles/colors/ on 
Windows), change the "let colors_name" statement to reflect the new name 
(without the ending .vim), apply any other changes you want, and invoke 
the new colorschememe from your vimrc or at the command-line, by means 
of a |:colorscheme| statement.


Best regards,
Tony.

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

Reply via email to