Giter Site home page Giter Site logo

Comments (4)

agude avatar agude commented on June 15, 2024

Yes!

If you are running in the terminal

Then the colors are the terminal colors. To change them you'll need to change the colors your terminal is using. Probably something like: Edit > Preferences > Colors (at least on Gnome Terminal).

If you are running in the GUI

Then the colors are set by the script, and you can override them easily!

The script does this:

" GUI colors                                                                                                                            
let s:red       = get(g:, 'eldar_red', '#EF2929')                                                                                       
let s:yellow    = get(g:, 'eldar_yellow', '#FCE94F')                                                                                    
let s:green     = get(g:, 'eldar_green', '#8AE234')                                                                                     
let s:cyan      = get(g:, 'eldar_cyan', '#34E2E2')                                                                                      
let s:blue      = get(g:, 'eldar_blue', '#729FCF')                                                                                      
let s:magenta   = get(g:, 'eldar_magenta', '#AD7FA8')                                                                                   
let s:gui_text  = get(g:, 'eldar_text', 'White')                                                                                        
let s:gui_bg    = get(g:, 'eldar_background', 'Black')    
let s:term_text  = get(g:, 'eldar_term_text', 'NONE')
let s:term_bg    = get(g:, 'eldar_term_background', 'NONE')

Any color you want to override you can set in your .vimrc (or equivilent) like this:

" Override Eldar GUI colors
let g:eldar_red     = "#ff0000"
let g:eldar_yellow  = "#ffff00"
let g:eldar_green   = "#00ff00"
let g:eldar_cyan    = "#00ffff"
let g:eldar_blue    = "#0000ff"
let g:eldar_magenta = "#ff00ff"

Does that work for you?

from vim-eldar.

kanaanayt avatar kanaanayt commented on June 15, 2024

The function definitions are orange. But that doesn't appear in the script. Is that the case for you as well?

from vim-eldar.

kanaanayt avatar kanaanayt commented on June 15, 2024

Okay never mind. Found it!

from vim-eldar.

agude avatar agude commented on June 15, 2024

Did you get it working? Just to be sure, here is what you would put in your .vimrc if you wanted to use sky blue instead of the default blue:

let g:eldar_blue = "#87ceeb"
colorscheme eldar

It's important to change the color before setting the color scheme, because when the color scheme loads it will look for custom colors you set, but it won't find them if you define the colors after loading the scheme. :-)

from vim-eldar.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.