diff --git a/plugin/minibufexpl.vim b/plugin/minibufexpl.vim index e2b3348..5ca72f0 100644 --- a/plugin/minibufexpl.vim +++ b/plugin/minibufexpl.vim @@ -531,6 +531,8 @@ endfunction " RenderSyntax {{{ " function! RenderSyntax() + "Avoid background color override by cursorline + setlocal nocursorline if has("syntax") syn clear syn match MBENormal '\[[^\]]*\]' @@ -1562,6 +1564,8 @@ function! 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