aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/vim-fancy-line.txt (renamed from doc/vim-recently-used.txt)0
-rwxr-xr-xplugin/vim-fancy-line.vim4
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/vim-recently-used.txt b/doc/vim-fancy-line.txt
index f8cb8d6..f8cb8d6 100644
--- a/doc/vim-recently-used.txt
+++ b/doc/vim-fancy-line.txt
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.'#'
..