Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions plugin/minibufexpl.vim
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,8 @@ endfunction
" RenderSyntax {{{
"
function! <SID>RenderSyntax()
"Avoid background color override by cursorline
setlocal nocursorline
if has("syntax")
syn clear
syn match MBENormal '\[[^\]]*\]'
Expand Down Expand Up @@ -1562,6 +1564,8 @@ function! <SID>BuildBufferList(curBufNum)
let l:miniBufExplBufList = l:miniBufExplBufList . "\n"
endif
endfor
" trim whitespaces
let l:miniBufExplBufList = substitute(l:miniBufExplBufList, '^\s*\(.\{-}\)\s*$', '\1', '')

if (s:miniBufExplBufList != l:miniBufExplBufList)
let s:maxTabWidth = l:maxTabWidth
Expand Down