Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #17825
    blackhawk
    Participant

    I am working on creating a new syntax and I can’t seem to find anywhere the general guideline for which color to assign to a keyword match.

    I can see that generally color=4 equates to keywords, but I have other types of keywords that I need highlighted and I am not sure generally how 1-10 are used. I don’t want to customize this for one language and then have all the rest look like crap.

    I realize it is not equivalent across all languages, but can someone provide somewhat of a general guideline for which color is used for which types of matches in the various syntax files? I.E.

    1 = Operators?
    2 = Declarations?
    3 = Class?
    4 = Keywords
    5 =
    6 = Functions
    7 =
    8 =
    9 =
    10 =

    #17832
    Stefan
    Participant

    Hi blackhawk,

    me think there is no rule which keywords should be highlighted in which special color.
     

    Just do like you want, maybe take an existing color scheme as basic to get some ideas.
    There are some web pages displaying colorschemes for various languages, used by Textmade and VIM, take that for more ideas.
    http://textmatetheme.com/
    https://code.google.com/p/vimcolorschemetest/

    BTW, the highlight colors [1], [2],… can be defined in the [Display] tab as Highlight (1), Highlight (2),…

     
     
    >>>” I don’t want to customize this for one language and then have all the rest look like crap.”
    If you utilize “Tools > Properties for Current Configuration”, you will work
    only on the settings for one syntax highlighting profile. The other languages are not affected then.
     
     
    HTH?

    (   BTW, I answered your question one hour before you actually asked it [see posting timestamps]     :D  )

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.