> On 23 August 2011 15:12, Thomas Adam <thomas@xteddy.org> wrote:
[snip]
>> It would be really nice if there was an easy (easier?) way of
>> including colour definitions for the extra types needing colour as
>> defined by TagHilight -- I appreciate different colour schemes
>> *annoying* implement how they assign colour, but is there an easy way
>> of achieving this? At the moment it requires a lot of knowledge about
>> colourschemes for this plugin to be of any use.
I've been playing with this a little and have started making a plugin
(called 'EasyColour') that will eventually allow a very simple syntax
for defining colours. Assuming you want something based on desert
with a few modifications, the file might look like the one on the end
of this email; this takes the Desert colour scheme and adds some
definitions for the new colours that you want (you can also override
existing ones). There is still a .vim file needed, but this is now
extremely simple (virtually identical for every colour scheme: the
only thing that changes is the name).
The plugin has support for other highlight parameters (background
colours, bold etc) and will _eventually_ automatically generate light
colour schemes from dark (with optional customisation) and vice versa
and will handle colour terminal highlighting by finding the nearest
colour to the specified GUI one...
If this is of interest, please have a look at the latest (very early
pre-pre-alpha) code on https://github.com/abudden/easycolour (a lot of
features have yet to be implemented and there's no documentation yet!)
There are some sample colour schemes included (including the one
below, which I've called desert_thl).
# Sample Colour Scheme Below:
# Saving this file will update the current colour scheme.
Basis:desert
Dark:
Class:#F0DDFF
DefinedName:#CCC0C0
EnumerationValue:#FFCCFF
EnumerationName:DarkKhaki
Member:#98FB98
Union:DarkKhaki
GlobalVariable:#F0E6CC
LocalVariable:#F0E6CC
GlobalConstant:#F0E6CC
# No light colour scheme defined
# vim: ff=unix:noet:ft=EasyColour
--
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
No comments:
Post a Comment