mirror of
https://github.com/itchyny/lightline.vim.git
synced 2025-11-17 16:03:41 -05:00
fix tagbar buffer detection (ref: #405)
This commit is contained in:
@@ -330,7 +330,7 @@ let g:lightline = {
|
||||
\ }
|
||||
|
||||
function! LightlineMode()
|
||||
return expand('%:t') ==# '__Tagbar__' ? 'Tagbar':
|
||||
return expand('%:t') =~# '^__Tagbar__' ? 'Tagbar':
|
||||
\ expand('%:t') ==# 'ControlP' ? 'CtrlP' :
|
||||
\ &filetype ==# 'unite' ? 'Unite' :
|
||||
\ &filetype ==# 'vimfiler' ? 'VimFiler' :
|
||||
|
||||
Reference in New Issue
Block a user