diff --git a/powerline/config_files/themes/vim/plugin_gundo-preview.json b/powerline/config_files/themes/vim/plugin_gundo-preview.json index e6017c2d..ad8432c1 100644 --- a/powerline/config_files/themes/vim/plugin_gundo-preview.json +++ b/powerline/config_files/themes/vim/plugin_gundo-preview.json @@ -3,12 +3,12 @@ "left": [ { "type": "string", - "highlight_groups": ["gundo.name", "file_name"], + "highlight_groups": ["gundo:name", "file_name"], "contents": "Undo diff" }, { "type": "string", - "highlight_groups": ["gundo.background", "background"], + "highlight_groups": ["gundo:background", "background"], "draw_soft_divider": false, "draw_hard_divider": false, "width": "auto" diff --git a/powerline/config_files/themes/vim/plugin_gundo.json b/powerline/config_files/themes/vim/plugin_gundo.json index a087561d..a03b256a 100644 --- a/powerline/config_files/themes/vim/plugin_gundo.json +++ b/powerline/config_files/themes/vim/plugin_gundo.json @@ -3,12 +3,12 @@ "left": [ { "type": "string", - "highlight_groups": ["gundo.name", "file_name"], + "highlight_groups": ["gundo:name", "file_name"], "contents": "Undo tree" }, { "type": "string", - "highlight_groups": ["gundo.background", "background"], + "highlight_groups": ["gundo:background", "background"], "draw_soft_divider": false, "draw_hard_divider": false, "width": "auto" diff --git a/powerline/segments/vim/plugin/nerdtree.py b/powerline/segments/vim/plugin/nerdtree.py index 296d2287..f11be14b 100644 --- a/powerline/segments/vim/plugin/nerdtree.py +++ b/powerline/segments/vim/plugin/nerdtree.py @@ -14,12 +14,12 @@ from powerline.segments.vim import window_cached def nerdtree(pl): '''Return directory that is shown by the current buffer. - Highlight groups used: ``nerdtree.path`` or ``file_name``. + Highlight groups used: ``nerdtree:path`` or ``file_name``. ''' if not bufvar_exists(None, 'NERDTreeRoot'): return None path_str = vim.eval('getbufvar("%", "NERDTreeRoot").path.str()') return [{ 'contents': path_str, - 'highlight_groups': ['nerdtree.path', 'file_name'], + 'highlight_groups': ['nerdtree:path', 'file_name'], }] diff --git a/powerline/segments/vim/plugin/syntastic.py b/powerline/segments/vim/plugin/syntastic.py index 3f1a9986..5bef3c7f 100644 --- a/powerline/segments/vim/plugin/syntastic.py +++ b/powerline/segments/vim/plugin/syntastic.py @@ -20,7 +20,7 @@ def syntastic(pl, err_format='ERR:  {first_line} ({num}) ', warn_format='WARN :param str warn_format: Format string for warnings. - Highlight groups used: ``syntastic.warning`` or ``warning``, ``syntastic.error`` or ``error``. + Highlight groups used: ``syntastic:warning`` or ``warning``, ``syntastic:error`` or ``error``. ''' if not vim_global_exists('SyntasticLoclist'): return None @@ -33,11 +33,11 @@ def syntastic(pl, err_format='ERR:  {first_line} ({num}) ', warn_format='WARN if errors: segments.append({ 'contents': err_format.format(first_line=errors[0]['lnum'], num=len(errors)), - 'highlight_groups': ['syntastic.error', 'error'], + 'highlight_groups': ['syntastic:error', 'error'], }) if warnings: segments.append({ 'contents': warn_format.format(first_line=warnings[0]['lnum'], num=len(warnings)), - 'highlight_groups': ['syntastic.warning', 'warning'], + 'highlight_groups': ['syntastic:warning', 'warning'], }) return segments