aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rwxr-xr-xplugin/vim-fancy-line.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/vim-fancy-line.vim b/plugin/vim-fancy-line.vim
index 9b6ff55..bfa5e1c 100755
--- a/plugin/vim-fancy-line.vim
+++ b/plugin/vim-fancy-line.vim
@@ -108,8 +108,8 @@ augroup MAX_FANCY_LINE
108 108
109 function! UpdateTabline(highlight_group) 109 function! UpdateTabline(highlight_group)
110 let l:invert_group = CreateInvertGroup(a:highlight_group) 110 let l:invert_group = CreateInvertGroup(a:highlight_group)
111 let l:git_branch = systemlist('git branch --show-current')[0] 111 let l:git_branch = systemlist('git branch --show-current')
112 let l:git_branch = v:shell_error ? "" : g:status_sym_sep_start . ' ' . g:symbol_branch . ' ' . l:git_branch 112 let l:git_branch = (v:shell_error || l:git_branch == []) ? "" : g:status_sym_sep_start . ' ' . g:symbol_branch . ' ' . l:git_branch[0]
113 113
114 return '' 114 return ''
115 \ .'%#'.a:highlight_group.'#' 115 \ .'%#'.a:highlight_group.'#'
..