> Dennis German wrote:
>> A. S. Budden wrote:
>>
>>> 2009/12/17 Gabor Urban <urbangabo@gmail.com>:
>>>
>>> I would like to play around with color schemes to create my own. I
>>> have read some introductions I but would like to have someone in
>>> contact, ...
>>>
>>>> There are many good examples in the help of course ... and there are a lot of good
>>>> examples in the scripts directory. ...
>>>> this list: we're always happy to help.
>>>>
>>>> ... my own 'alternative' syntax
>>>> ... http://sites.google.com/site/abudden/contents/Vim-Scripts/bandit-colour-scheme
>>>> ...
>>>> Using the CSApprox plugin makes the console version look a lot better....
>>>> Al
>>>>
>> Al, thanks. The first part of bandit includes : if exists("syntax_on")
>> | syntax reset | endif .
>> Does this mean that bandit does not use color/highlighting specific to
>> the programming language being edited?
>>
> Al, hope you don't mind my "butting in"...
I don't mind at all.
> Vim has language specific syntax recognition files. These are typically
> under vim72/syntax/; they are not colorschemes. They map lexical
> constructs/syntax to highlighting group names.
>
> Colorschemes map highlighting-group names (such as Statement, Number,
> Special, ...) to specifications for actual colors. They typically fall
> under vim72/colors/ .
>
> Now, the test you see checks if syntax highlighting is enabled, and if
> its not, attempts to restore colorscheme highlighting defaults.
>
> So the if exists("syntax_on") ... test has nothing to do with
> "using color/highlighting specific to the programming language".
Thanks Charles: much more eloquent than I would have put it! I was
just going to say "no, the bandit colour scheme just sets the colours,
but doesn't affect the syntax specification". Your explanation was
much better!
Al
--
http://sites.google.com/site/abudden
--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment