solarized icon indicating copy to clipboard operation
solarized copied to clipboard

Vim: Colors definitions are private to the theme

Open cdlm opened this issue 13 years ago • 2 comments

solarized.vim uses script-local variables to store the color definitions, so it's impossible to reuse them elsewhere in the config.

For instance I'd like to use this statusline trick to show the current mode, but to do so I either have to copy the color values in my config file, or to patch solarized.vim itself.

Would it be possible to make the colors accessible?

cdlm avatar Jul 20 '11 19:07 cdlm

I've sent a pull request to implement just this: https://github.com/altercation/vim-colors-solarized/pull/32

drslump avatar Sep 18 '11 10:09 drslump

@drslump Any chance you can re-submit that to this repository? It seems like the vim-colors-solarized repository only exists as a convenience, such as for vim package managers. Perhaps that's why it hasn't gotten any attention.

blaenk avatar Feb 05 '17 00:02 blaenk