Commit Graph

8 Commits

Author SHA1 Message Date
Christian Brabandt
c8c0e7d9ff
Get rid of g:airline_gui_mode
This is needed for Neovim, because an external UI could be attached to
the same neovim server, so it does not make sense to define highlighting
groups with either only the cterm or the guifg attribute set.

So refactor the code slightly got get rid of this variable (and since
this variable is not needed anymore, we can also get rid of the guienter
and OptionSet autocommand).

fixes: #2261
2020-10-30 08:32:35 +01:00
Christian Brabandt
c0f96df97f
Update metadata (copyright)
also remove trailing empty lines in test files
2018-12-15 19:56:30 +01:00
Christian Brabandt
6ee75bdbde
Fix failing tests 2017-08-11 12:55:44 +02:00
Daniel Hahler
d39076a07d airline#highlighter: s:get_syn: fallback to 'NONE'
This is required when used with 'Normal' with a transparent background.
Falling back to 1 here results in "red" for "ctermbg"!

I think it's important to keep the 'NONE' color property here, instead
of hardcoding the fallbacks (even if white would be used instead of
red).
2016-02-16 00:44:07 +01:00
Bailey Ling
858ef19a6f fix unit tests. 2013-09-15 12:02:36 -04:00
Bailey Ling
0b6263844f add tests for theme generate helper functions 2013-09-15 08:41:48 -04:00
Bailey Ling
f6900aeb0a move highlighter code to correct place and test. 2013-09-02 02:57:32 +00:00
Bailey Ling
41414a3a84 tests for basic color extraction. 2013-09-01 21:14:25 +00:00