Make vim and ipython ext configurations optional

This commit is contained in:
ZyX 2013-04-10 20:18:03 +04:00
parent 40973ea530
commit 3ce068db94
1 changed files with 2 additions and 2 deletions

View File

@ -427,7 +427,7 @@ main_spec = (Spec(
theme=theme_spec(), theme=theme_spec(),
local_themes=Spec() local_themes=Spec()
.unknown_spec(lambda *args: check_matcher_func('vim', *args), theme_spec()) .unknown_spec(lambda *args: check_matcher_func('vim', *args), theme_spec())
), ).optional(),
ipython=Spec( ipython=Spec(
colorscheme=colorscheme_spec(), colorscheme=colorscheme_spec(),
theme=theme_spec(), theme=theme_spec(),
@ -436,7 +436,7 @@ main_spec = (Spec(
out=theme_spec(), out=theme_spec(),
rewrite=theme_spec(), rewrite=theme_spec(),
), ),
), ).optional(),
).unknown_spec(check_ext, ).unknown_spec(check_ext,
Spec( Spec(
colorscheme=colorscheme_spec(), colorscheme=colorscheme_spec(),