Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Possible the same color as source insight ? #166

Open
VincentVonPark opened this issue Jan 25, 2018 · 1 comment
Open

Possible the same color as source insight ? #166

VincentVonPark opened this issue Jan 25, 2018 · 1 comment

Comments

@VincentVonPark
Copy link

VincentVonPark commented Jan 25, 2018

Thank for making color_coded, I have used it happily.
I have used the source insight and vim, but I have a trouble to understand the code easily for bolding and italic. also, I only worked in C

  1. Is it possible to blue color for intel_dsm_priv ?
    selection_009
  2. Is it possible to be italic for intel_dsm_guid ?
    selection_010
  3. Is it possible to exchange the color for acpi_method_name orange or blue?
    selection_011

I used it for colorscheme
http://www.vim.org/scripts/script.php?script_id=2140

I failed to adapt that which has asked for my requesting above.
Could you please help me?

Thank for help in advance.

Vincent Von Pak.

@jeaye
Copy link
Owner

jeaye commented Jan 26, 2018

Hey, thanks for using color_coded and I'm glad you've enjoyed it. I'm out on vacation right now and I don't have my typical setup for helping to debug any issues. If you're looking to customize color_coded's highlighting, your first step should be to use a custom colorscheme which uses your preferred colors for the highlight groups which color_coded outputs. An example of that is included with color_coded, as shown here (you can enable this with :color twilighted in vim): https://github.com/jeaye/color_coded/blob/master/colors/twilighted.vim

There are more highlight groups outputted by color_coded than used in twillighted, and some of them are mapped to the same color. You can see that mapping here: https://github.com/jeaye/color_coded/blob/master/after/syntax/color_coded.vim

Tweaking these requires a bit of understanding of libclang and vim, but it gives you a great deal of control. If I've misunderstood your question, please let me know.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants