From 4f804686451d256bcb2e8211bd9a157143c3f2db Mon Sep 17 00:00:00 2001 From: ZyX Date: Fri, 10 Jan 2014 23:17:06 +0400 Subject: [PATCH 1/2] Fix tests broken due to jobnum introduction --- tests/test_configuration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_configuration.py b/tests/test_configuration.py index 19b9bb04..93857ec4 100644 --- a/tests/test_configuration.py +++ b/tests/test_configuration.py @@ -76,7 +76,7 @@ class TestConfig(TestCase): def test_zsh(self): from powerline.shell import ShellPowerline - args = Args(last_pipe_status=[1, 0], ext=['shell'], renderer_module='zsh_prompt') + args = Args(last_pipe_status=[1, 0], jobnum=0, ext=['shell'], renderer_module='zsh_prompt') with ShellPowerline(args, run_once=False) as powerline: powerline.render(segment_info={'args': args}) with ShellPowerline(args, run_once=False) as powerline: @@ -84,7 +84,7 @@ class TestConfig(TestCase): def test_bash(self): from powerline.shell import ShellPowerline - args = Args(last_exit_code=1, ext=['shell'], renderer_module='bash_prompt', config={'ext': {'shell': {'theme': 'default_leftonly'}}}) + args = Args(last_exit_code=1, jobnum=0, ext=['shell'], renderer_module='bash_prompt', config={'ext': {'shell': {'theme': 'default_leftonly'}}}) with ShellPowerline(args, run_once=False) as powerline: powerline.render(segment_info={'args': args}) with ShellPowerline(args, run_once=False) as powerline: From e152ecfa9a91ccdeb8d28a42d28c8ecc1c9a1b8c Mon Sep 17 00:00:00 2001 From: ZyX Date: Fri, 10 Jan 2014 23:22:54 +0400 Subject: [PATCH 2/2] Add missing groups to solarizedlight --- powerline/config_files/colorschemes/vim/solarizedlight.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/powerline/config_files/colorschemes/vim/solarizedlight.json b/powerline/config_files/colorschemes/vim/solarizedlight.json index 51ea0fb3..f91f5175 100644 --- a/powerline/config_files/colorschemes/vim/solarizedlight.json +++ b/powerline/config_files/colorschemes/vim/solarizedlight.json @@ -4,6 +4,7 @@ "background": { "fg": "gray13", "bg": "darkgreencopper" }, "background:divider": { "fg": "azure4", "bg": "darkgreencopper" }, "mode": { "fg": "oldlace", "bg": "green", "attr": ["bold"] }, + "visual_range": { "fg": "green", "bg": "oldlace", "attr": ["bold"] }, "modified_indicator": { "fg": "yellow", "bg": "lightyellow", "attr": ["bold"] }, "paste_indicator": { "fg": "red", "bg": "lightyellow", "attr": ["bold"] }, "readonly_indicator": { "fg": "red", "bg": "lightyellow" }, @@ -28,7 +29,10 @@ "line_current_symbol": { "fg": "oldlace", "bg": "royalblue5" }, "virtcol_current_gradient": { "fg": "yellow_orange_red", "bg": "royalblue5" }, "col_current": { "fg": "lightskyblue4", "bg": "royalblue5" }, - "environment": { "fg": "gray61", "bg": "darkgreencopper" } + "environment": { "fg": "gray61", "bg": "darkgreencopper" }, + "error": { "fg": "gray13", "bg": "red", "attr": ["bold"] }, + "warning": { "fg": "gray13", "bg": "lightyellow", "attr": ["bold"] }, + "current_tag": { "fg": "gray13", "bg": "darkgreencopper", "attr": ["bold"] } }, "mode_translations": { "nc": {