Commit Graph

5 Commits

Author SHA1 Message Date
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