t9md / vim-ezbar

&statusline configuration helper for minimalist.
25 stars 2 forks source link

Error using default configuration with different themes #5

Closed jrhorn424 closed 10 years ago

jrhorn424 commented 10 years ago

If I use the default configuration and only change the theme, any of the following themes produce this error message:

Vim(let):E716: Key not present in Dictionary: cterm

Themes that cause this error:

The default and fancy themes work fine.

t9md commented 10 years ago

Its not bug, some of color theme not support CUI color. To improve this, I should warn warning message or so.

As you can see when comparing two file, neon.vim don't have color definition for CUI(term).

https://github.com/t9md/vim-ezbar/blob/master/autoload/ezbar/theme/default.vim https://github.com/t9md/vim-ezbar/blob/master/autoload/ezbar/theme/neon.vim

I myself use guy vim, and not have motivation to prepare equivalent cterm color for some theme. You can see how each theme is like by using gvim.

You can add and test your own color theme,

Thanks.

jrhorn424 commented 10 years ago

Thank! Good to know. Will try playing around with macvim.